forked from OSchip/llvm-project
[NFC] Sync function call with changes to interface made in r314593.
llvm-svn: 314595
This commit is contained in:
parent
c3b33f0f0d
commit
a8e84625d8
|
@ -429,7 +429,7 @@ static std::string getMacroExpandedString(clang::Preprocessor &PP,
|
|||
const clang::Token *ArgTok = Args->getUnexpArgument(ArgNo);
|
||||
if (Args->ArgNeedsPreexpansion(ArgTok, PP))
|
||||
ResultArgToks = &(const_cast<clang::MacroArgs *>(Args))
|
||||
->getPreExpArgument(ArgNo, MI, PP)[0];
|
||||
->getPreExpArgument(ArgNo, PP)[0];
|
||||
else
|
||||
ResultArgToks = ArgTok; // Use non-preexpanded Tokens.
|
||||
// If the arg token didn't expand into anything, ignore it.
|
||||
|
|
Loading…
Reference in New Issue