]> granicus.if.org Git - clang/commit
Several PPCallbacks take an SourceLocation + IdentifierInfo, rather
authorCraig Silverstein <csilvers2000@yahoo.com>
Fri, 19 Nov 2010 21:33:15 +0000 (21:33 +0000)
committerCraig Silverstein <csilvers2000@yahoo.com>
Fri, 19 Nov 2010 21:33:15 +0000 (21:33 +0000)
commit2aa9267cf193e5eceb9fd24a51b51c031b606fe9
treec82fdac0bd4e44ce6510051d02e146ec51bf4f00
parente4539ef4633fa5c0867e247b5bc88e0f753a2336
Several PPCallbacks take an SourceLocation + IdentifierInfo, rather
than a Token that holds the same information all in one easy-to-use
package.  There's no technical reason to prefer the former -- the
information comes from a Token originally -- and it's clumsier to use,
so I've changed the code to use tokens everywhere.

Approved by clattner

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119845 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PPCallbacks.h
include/clang/Lex/PreprocessingRecord.h
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Lex/PPDirectives.cpp
lib/Lex/PreprocessingRecord.cpp