Lines Matching refs:FilenameTok
1684 Token FilenameTok; in HandleIncludeDirective() local
1685 CurPPLexer->LexIncludeFilename(FilenameTok); in HandleIncludeDirective()
1693 switch (FilenameTok.getKind()) { in HandleIncludeDirective()
1700 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
1701 End = FilenameTok.getLocation(); in HandleIncludeDirective()
1702 CharEnd = End.getLocWithOffset(FilenameTok.getLength()); in HandleIncludeDirective()
1715 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandleIncludeDirective()
1721 = CharSourceRange::getCharRange(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective()
1724 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandleIncludeDirective()
1740 Diag(FilenameTok, diag::err_pp_include_too_deep); in HandleIncludeDirective()
1778 SourceLocation FilenameLoc = FilenameTok.getLocation(); in HandleIncludeDirective()
1825 SourceRange Range(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective()
1826 Diag(FilenameTok, diag::err_pp_file_not_found_not_fatal) << in HandleIncludeDirective()
1834 Diag(FilenameTok, diag::err_pp_file_not_found) << Filename; in HandleIncludeDirective()
1871 Diag(FilenameTok.getLocation(), in HandleIncludeDirective()
1883 FilenameTok.getLocation())); in HandleIncludeDirective()
1944 SourceMgr.getFileCharacteristic(FilenameTok.getLocation())); in HandleIncludeDirective()
1976 SourceRange Range(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective()
1977 Diag(FilenameTok, DiagId) << Replacement << in HandleIncludeDirective()
1989 Callbacks->FileSkipped(*File, FilenameTok, FileCharacter); in HandleIncludeDirective()
2015 if (EnterSourceFile(FID, CurDir, FilenameTok.getLocation())) in HandleIncludeDirective()