diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-08 06:58:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-08 06:58:22 +0000 |
commit | 5caa370ea6f70bd3e7e4a9cc3b69ac1a849c8534 (patch) | |
tree | 325c140baaa5ecb1abc5f7d3a8353040d468253e /lib/Sema/Sema.h | |
parent | fb1e3310da7e3886c8057a5f009d2cdf30d8804f (diff) |
reimplement __sync_* builtins to be variadic and to follow the same
semantic rules that gcc and icc use. This implements the variadic
and concrete versions as builtins and has sema do the
disambiguation. There are probably a bunch of details to finish up
but this seems like a large monotonic step forward :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 2700600d40..389d554813 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -2590,6 +2590,7 @@ private: bool SemaBuiltinPrefetch(CallExpr *TheCall); bool SemaBuiltinObjectSize(CallExpr *TheCall); bool SemaBuiltinLongjmp(CallExpr *TheCall); + bool SemaBuiltinAtomicOverloaded(CallExpr *TheCall); bool SemaCheckStringLiteral(const Expr *E, const CallExpr *TheCall, bool HasVAListArg, unsigned format_idx, unsigned firstDataArg); |