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)
commit360d225ae99b276df0ab705760de37c93016f16f
treefdaa8fa862c444019df75abd5b7d3333b70a7555
parent2247f8afbd8c35c5ff61d816c6f36d3480c4e4f6
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.

llvm-svn: 165234
clang/lib/Parse/ParseDecl.cpp
clang/lib/Sema/SemaDecl.cpp