forked from OSchip/llvm-project
Fix message in assert to be more accurate.
llvm-svn: 38732
This commit is contained in:
parent
f918bf71ef
commit
a0d9bf4e83
|
@ -138,7 +138,7 @@ void Preprocessor::Handle_Pragma(LexerToken &Tok) {
|
||||||
const char *StrData = SourceMgr.getCharacterData(TokLoc);
|
const char *StrData = SourceMgr.getCharacterData(TokLoc);
|
||||||
|
|
||||||
unsigned FileID = TokLoc.getFileID();
|
unsigned FileID = TokLoc.getFileID();
|
||||||
assert(FileID && "Could not create FileID for predefines?");
|
assert(FileID && "Could not get FileID for _Pragma?");
|
||||||
|
|
||||||
// Make and enter a lexer object so that we lex and expand the tokens just
|
// Make and enter a lexer object so that we lex and expand the tokens just
|
||||||
// like any others.
|
// like any others.
|
||||||
|
|
Loading…
Reference in New Issue