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 << "[";
|
SS << "[";
|
||||||
// The argument tokens might include end tokens, so we reflect how
|
// The argument tokens might include end tokens, so we reflect how
|
||||||
// how getUnexpArgument provides the arguments.
|
// 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);
|
const clang::Token *Current = Value->getUnexpArgument(I);
|
||||||
int TokenCount = Value->getArgLength(Current) + 1; // include EOF
|
int TokenCount = Value->getArgLength(Current) + 1; // include EOF
|
||||||
E -= TokenCount;
|
E -= TokenCount;
|
||||||
|
|
Loading…
Reference in New Issue