]> granicus.if.org Git - clang/commit
Mark the overloaded atomic builtins as having custom type checking,
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Nov 2011 19:45:38 +0000 (19:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Nov 2011 19:45:38 +0000 (19:45 +0000)
commit5b0c5199a7037d0435d75f37e3ba69a24f757931
treea7e8b9cac1f2c2120443ab7621d57cf20085f11d
parent5bea4f6860543017be326e3fbe702edb2678d898
Mark the overloaded atomic builtins as having custom type checking,
which they do. This avoids all of the default argument promotions that
we (1) don't want, and (2) undo during that custom type checking, and
makes sure that we don't run into trouble during template
instantiation. Fixes PR11320.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144110 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
lib/Sema/SemaChecking.cpp
test/SemaTemplate/atomics.cpp