]> granicus.if.org Git - clang/commit
Extract an isReservedName() function
authorAlp Toker <alp@nuanti.com>
Mon, 30 Jun 2014 01:33:53 +0000 (01:33 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 30 Jun 2014 01:33:53 +0000 (01:33 +0000)
commit9ec95c85e71e9c9360c9e3fd8c984432bbbec1f5
tree41a997aa5d018f425065f3839ed687d1fe2abd49
parent637eb77dedee82399318cc79bf631183e56159f6
Extract an isReservedName() function

We'll want to share the implementation if anything else decides to check
for reserved names in future, so make this little snippet of code more
discoverable.

Also remove the __va_list_tag and __builtin_va_list special-case
checks. They're leftovers from before when the reserved name logic was
added.

No change in functionality.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp