mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #68536 from Azoy/maxAtomicInlineWidth
[AST] Add #if _atomicBitWidth as a valid compilation conditional
This commit is contained in:
@@ -683,6 +683,9 @@ namespace swift {
|
||||
/// by name.
|
||||
bool hasFeature(llvm::StringRef featureName) const;
|
||||
|
||||
/// Sets the "_atomicBitWidth" conditional.
|
||||
void setAtomicBitWidth(llvm::Triple triple);
|
||||
|
||||
/// Returns true if the given platform condition argument represents
|
||||
/// a supported target operating system.
|
||||
///
|
||||
@@ -720,7 +723,7 @@ namespace swift {
|
||||
}
|
||||
|
||||
private:
|
||||
llvm::SmallVector<std::pair<PlatformConditionKind, std::string>, 6>
|
||||
llvm::SmallVector<std::pair<PlatformConditionKind, std::string>, 10>
|
||||
PlatformConditionValues;
|
||||
llvm::SmallVector<std::string, 2> CustomConditionalCompilationFlags;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user