reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
144 Preprocessor *getPP() const { return PP; } 147 assert(PP &&tools/clang/lib/Lex/Lexer.cpp
164 assert(PP && "Cannot reset token mode without a preprocessor"); 168 SetCommentRetentionState(PP->getCommentRetentionState()); 1139 assert(PP && "This doesn't work on raw lexers"); 1140 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); 1146 return PP->Diag(getSourceLocation(Loc), DiagID); 1599 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, 1626 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, 1629 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint, 1665 IdentifierInfo *II = PP->LookUpIdentifierInfo(Result); 1696 return PP->HandleIdentifier(Result); 1938 PP->CodeCompleteNaturalLanguage(); 2099 PP->setCodeCompletionIdentifierInfo(&PP->getIdentifierTable().get( 2099 PP->setCodeCompletionIdentifierInfo(&PP->getIdentifierTable().get( 2110 PP->setCodeCompletionTokenRange( 2113 PP->CodeCompleteIncludedFile(Dir, IsAngled); 2155 PP->CodeCompleteNaturalLanguage(); 2341 PP->CodeCompleteNaturalLanguage(); 2349 if (PP && !isLexingRawMode() && 2350 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), 2396 std::string Spelling = PP->getSpelling(Result, &Invalid); 2405 PP->CreateString(Spelling, Result, 2527 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { 2527 !(PP && PP->getCodeCompletionFileLoc() == FileLoc)) { 2612 PP->CodeCompleteNaturalLanguage(); 2621 if (PP && !isLexingRawMode() && 2622 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), 2674 PP->CodeCompleteNaturalLanguage(); 2695 if (PP) 2696 PP->CodeCompleteNaturalLanguage(); 2722 if (PP) 2736 if (PP->isRecordingPreamble() && PP->isInPrimaryFile()) { 2736 if (PP->isRecordingPreamble() && PP->isInPrimaryFile()) { 2737 PP->setRecordedPreambleConditionalStack(ConditionalStack); 2745 if (PP->getCodeCompletionFileLoc() != FileLoc) 2746 PP->Diag(ConditionalStack.back().IfLoc, 2754 DiagnosticsEngine &Diags = PP->getDiagnostics(); 2778 return PP->HandleEndOfFile(Result, isPragmaLexer()); 2937 if (!PP || !PP->getPreprocessorOpts().LexEditorPlaceholders || LexingRawMode) 2937 if (!PP || !PP->getPreprocessorOpts().LexEditorPlaceholders || LexingRawMode) 2948 PP->LookUpIdentifierInfo(Result); 2955 if (PP && PP->isCodeCompletionEnabled()) { 2955 if (PP && PP->isCodeCompletionEnabled()) { 2957 return Loc == PP->getCodeCompletionLoc(); 3048 if (Result && PP) { 3062 if (Result && PP) { 3078 if (!isLexingRawMode() && !PP->isPreprocessedOutput() && 3092 !PP->isPreprocessedOutput()) { 3093 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), C, 3096 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), C, 3105 !PP->isPreprocessedOutput() && 3254 if (PP) 3600 if (!(PP && PP->isPreprocessedOutput())) 3600 if (!(PP && PP->isPreprocessedOutput())) 3912 PP->isPreprocessedOutput()) { 3942 PP->HandleDirective(Result); 3944 if (PP->hadModuleLoaderFatalFailure()) {tools/clang/lib/Lex/PreprocessorLexer.cpp
42 PP->Lex(FilenameTok); 51 return PP->getSourceManager().getFileEntryForID(getFileID());