]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit - contrib/llvm/tools/clang/include/clang/Basic/Builtins.def
MFC r227735:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Dec 2011 22:17:10 +0000 (22:17 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Dec 2011 22:17:10 +0000 (22:17 +0000)
commit37e85b984cd0cbc6ccaf847aac0bb9d0158c7b60
tree270da3a77aa450f77e65b81acaa72e1e4163971d
parentf966b63fa99fa2369bd5f49fd7fe97a627f9da67
MFC r227735:

Pull in r144110 from upstream clang trunk:

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 llvm/clang PR11320.

git-svn-id: svn://svn.freebsd.org/base/stable/9@229039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/include/clang/Basic/Builtins.def
contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp