diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-28 17:37:39 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-28 17:37:39 +0000 |
commit | 538bbe597b935a74d95c668ad209536753f13481 (patch) | |
tree | 9519b5280fc14b263bbcf1b230c36afdd4e80989 /include/clang/AST/ASTContext.h | |
parent | 4e9179a3d0ec612a4d540281020b200254348a6b (diff) | |
download | clang-538bbe597b935a74d95c668ad209536753f13481.tar.gz |
Patch to issue error when target of MacOS and iOS
does not support large load/store of atomic objects.
// rdar://13973577
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/ASTContext.h')
-rw-r--r-- | include/clang/AST/ASTContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 94dad6bbc3..b69a4f4525 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -470,6 +470,8 @@ public: const TargetInfo &getTargetInfo() const { return *Target; } + bool AtomicUsesUnsupportedLibcall(const AtomicExpr *E) const; + const LangOptions& getLangOpts() const { return LangOpts; } DiagnosticsEngine &getDiagnostics() const; |