]> granicus.if.org Git - clang/commit
When checking a call to a builtin atomic operation, be sure to
authorDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 16:30:08 +0000 (16:30 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 28 Nov 2011 16:30:08 +0000 (16:30 +0000)
commita9766411aaaa1446a5da96dc5042de8da05d89bd
tree4a5dacc55a0d4ce45c1004ea007346ce4a2afa1b
parent7a1f148710eeebd3bef3dc303380da3d6ef6e3c8
When checking a call to a builtin atomic operation, be sure to
consider the _<width> variants as well, which we'll see if we're
performing the type checking in a template instantiation where the
call expression itself was originally not type-dependent. Fixes
PR11411.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145248 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/CodeGenCXX/atomic.cpp [new file with mode: 0644]