]> granicus.if.org Git - clang/commit
SourceManager::isAtStartOfMacroInstantiation should check not only if the location
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 24 Jun 2011 17:28:26 +0000 (17:28 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 24 Jun 2011 17:28:26 +0000 (17:28 +0000)
commited37ab82c7790569bcd39f4ba421b17433ef530a
treed4d8ce54625bea51427675758a8fc8140ac08870
parent8e27eb7ebf00dc24ca135698459c68ceb30c3963
SourceManager::isAtStartOfMacroInstantiation should check not only if the location
is at the first token but that the location's offset is not inside the token as well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133800 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SourceManager.cpp