forked from OSchip/llvm-project
The leading space flag of a stringized string matches that of the # operator.
llvm-svn: 38713
This commit is contained in:
parent
c783d1dff9
commit
6016169cb8
|
@ -178,14 +178,14 @@ void MacroExpander::ExpandFunctionArguments() {
|
|||
FormalArgs->getUnexpArgument(ArgNo), PP, true));
|
||||
}
|
||||
|
||||
// FIXME: Should the stringified string leading space flag get set to
|
||||
// match the # or the identifier?
|
||||
// The stringified/charified string leading space flag gets set to match
|
||||
// the #/#@ operator.
|
||||
if (CurTok.hasLeadingSpace())
|
||||
ResultToks.back().SetFlag(LexerToken::LeadingSpace);
|
||||
|
||||
MadeChange = true;
|
||||
++i; // Skip arg name.
|
||||
} else {
|
||||
// FIXME: handle microsoft charize extension.
|
||||
|
||||
ResultToks.push_back(CurTok);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue