forked from OSchip/llvm-project
Update callbacks tracker to match change in 305425
llvm-svn: 305426
This commit is contained in:
parent
8691d6e678
commit
ad94b452f5
|
@ -590,7 +590,7 @@ void PPCallbacksTracker::appendArgument(const char *Name,
|
|||
SS << "[";
|
||||
// The argument tokens might include end tokens, so we reflect how
|
||||
// how getUnexpArgument provides the arguments.
|
||||
for (int I = 0, E = Value->getNumArguments(); I < E; ++I) {
|
||||
for (int I = 0, E = Value->getNumMacroArguments(); I < E; ++I) {
|
||||
const clang::Token *Current = Value->getUnexpArgument(I);
|
||||
int TokenCount = Value->getArgLength(Current) + 1; // include EOF
|
||||
E -= TokenCount;
|
||||
|
|
Loading…
Reference in New Issue