|
clang 22.0.0git
|
#include "clang/Lex/Pragma.h"#include "clang/Basic/CLWarnings.h"#include "clang/Basic/Diagnostic.h"#include "clang/Basic/IdentifierTable.h"#include "clang/Basic/LLVM.h"#include "clang/Basic/LangOptions.h"#include "clang/Basic/Module.h"#include "clang/Basic/SourceLocation.h"#include "clang/Basic/SourceManager.h"#include "clang/Basic/TokenKinds.h"#include "clang/Lex/HeaderSearch.h"#include "clang/Lex/LexDiagnostic.h"#include "clang/Lex/Lexer.h"#include "clang/Lex/LiteralSupport.h"#include "clang/Lex/MacroInfo.h"#include "clang/Lex/ModuleLoader.h"#include "clang/Lex/PPCallbacks.h"#include "clang/Lex/Preprocessor.h"#include "clang/Lex/PreprocessorLexer.h"#include "clang/Lex/PreprocessorOptions.h"#include "clang/Lex/Token.h"#include "clang/Lex/TokenLexer.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/Timer.h"#include <algorithm>#include <cassert>#include <cstddef>#include <cstdint>#include <optional>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Functions | |
| static bool | LexModuleNameComponent (Preprocessor &PP, Token &Tok, IdentifierLoc &ModuleNameComponent, bool First) |
| static bool | LexModuleName (Preprocessor &PP, Token &Tok, llvm::SmallVectorImpl< IdentifierLoc > &ModuleName) |
|
static |
Definition at line 796 of file Pragma.cpp.
References LexModuleNameComponent(), clang::Preprocessor::LexUnexpandedToken(), and Tok.
|
static |
Definition at line 776 of file Pragma.cpp.
References clang::Preprocessor::Diag(), clang::First, clang::Preprocessor::getIdentifierInfo(), clang::Preprocessor::LexUnexpandedToken(), and Tok.
Referenced by clang::Preprocessor::HandlePragmaModuleBuild(), and LexModuleName().