]> granicus.if.org Git - clang/commit
Fix scope location when parsing GNU attributes.
authorMichael Han <Michael.Han@autodesk.com>
Thu, 4 Oct 2012 16:42:52 +0000 (16:42 +0000)
committerMichael Han <Michael.Han@autodesk.com>
Thu, 4 Oct 2012 16:42:52 +0000 (16:42 +0000)
commit45bed131a1a4219cc0bfb3c9f666dca54ddb59fa
treec67cdf5fb6de4c84246971d5fd2a29e6d79cd622
parent763794a03e525a2866432d3d3dff162f1838b769
Fix scope location when parsing GNU attributes.

For GNU attributes, instead of reusing attribute source
location for the scope location, use SourceLocation() since
GNU attributes don not have scope tokens.

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