|
clang
5.0.0
|
#include "clang/Lex/Pragma.h"#include "clang/Basic/FileManager.h"#include "clang/Basic/IdentifierTable.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/LiteralSupport.h"#include "clang/Lex/MacroInfo.h"#include "clang/Lex/PPCallbacks.h"#include "clang/Lex/Preprocessor.h"#include "clang/Lex/PreprocessorLexer.h"#include "clang/Lex/PTHLexer.h"#include "clang/Lex/Token.h"#include "clang/Lex/TokenLexer.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/Support/CrashRecoveryContext.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/ErrorHandling.h"#include <algorithm>#include <cassert>#include <cstdint>#include <limits>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| static bool | LexModuleNameComponent (Preprocessor &PP, Token &Tok, std::pair< IdentifierInfo *, SourceLocation > &ModuleNameComponent, bool First) |
| static bool | LexModuleName (Preprocessor &PP, Token &Tok, llvm::SmallVectorImpl< std::pair< IdentifierInfo *, SourceLocation >> &ModuleName) |
|
static |
Definition at line 781 of file Pragma.cpp.
References clang::Token::isNot(), LexModuleNameComponent(), and clang::Preprocessor::LexUnexpandedToken().
|
static |
Definition at line 760 of file Pragma.cpp.
References clang::Preprocessor::Diag(), clang::Token::getIdentifierInfo(), clang::Preprocessor::getIdentifierInfo(), clang::Token::getLocation(), clang::StringLiteralParser::GetString(), clang::StringLiteralParser::hadError, clang::Token::hasUDSuffix(), clang::Token::is(), clang::Token::isAnnotation(), and clang::Preprocessor::LexUnexpandedToken().
Referenced by clang::Preprocessor::HandlePragmaModuleBuild(), and LexModuleName().
1.8.6