|
clang 24.0.0git
|
#include "clang/Tooling/Transformer/SourceCode.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Attr.h"#include "clang/AST/Comment.h"#include "clang/AST/Decl.h"#include "clang/AST/DeclCXX.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/Expr.h"#include "clang/Basic/SourceManager.h"#include "clang/Lex/Lexer.h"#include "llvm/Support/Errc.h"#include "llvm/Support/Error.h"#include <set>Go to the source code of this file.
|
static |
Definition at line 394 of file SourceCode.cpp.
References clang::SourceManager::getCharacterData(), clang::SourceLocation::getLocWithOffset(), clang::Lexer::getRawToken(), clang::Invalid, clang::isVerticalWhitespace(), clang::isWhitespace(), and Tok.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 219 of file SourceCode.cpp.
References Tok.
Referenced by clang::ParentMapContext::ParentMap::::MatchParents, flattenClangCommandLine(), getEntityEndLoc(), and percentEncodeURICharacter().
|
static |
Definition at line 233 of file SourceCode.cpp.
References contains(), clang::File, clang::SourceManager::getBufferData(), clang::SourceManager::getDecomposedLoc(), clang::CharSourceRange::getEnd(), clang::SourceManager::getExpansionRange(), clang::SourceManager::getLocForStartOfFile(), clang::Invalid, clang::SourceLocation::isMacroID(), clang::SourceLocation::isValid(), clang::Lexer::LexFromRawLexer(), clang::Lexer::SetKeepWhitespaceMode(), startsWithNewline(), and Tok.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 127 of file SourceCode.cpp.
References clang::SourceManager::getFileID(), clang::SourceManager::getSLocEntry(), clang::Invalid, and clang::SourceLocation::isMacroID().
Referenced by getRangeForSplitTokens().
|
static |
Definition at line 93 of file SourceCode.cpp.
References clang::SrcMgr::SLocEntry::getExpansion(), clang::SourceManager::getFileID(), clang::SourceManager::getSLocEntry(), and clang::SourceLocation::isMacroID().
Referenced by spelledInMacroDefinition().
|
static |
Definition at line 171 of file SourceCode.cpp.
References clang::CharSourceRange::getCharRange(), clang::Lexer::getLocForEndOfToken(), getRangeForSplitTokens(), clang::SourceManager::getSpellingLoc(), clang::Lexer::makeFileCharRange(), and spelledInMacroDefinition().
Referenced by clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), clang::tooling::getFileRange(), clang::tooling::getFileRangeForEdit(), and clang::Sema::mergeDeclAttributes().
|
static |
Definition at line 147 of file SourceCode.cpp.
References clang::CharSourceRange::getCharRange(), getExpansionForSplitToken(), and clang::CharSourceRange::getTokenRange().
Referenced by getRange().
|
static |
Definition at line 362 of file SourceCode.cpp.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 378 of file SourceCode.cpp.
References clang::SourceManager::getCharacterData(), clang::SourceLocation::getLocWithOffset(), clang::isHorizontalWhitespace(), and clang::isVerticalWhitespace().
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 110 of file SourceCode.cpp.
References getMacroArgumentExpansionLocs().
Referenced by getRange().
|
static |
Definition at line 215 of file SourceCode.cpp.
References clang::SourceManager::getCharacterData(), clang::isVerticalWhitespace(), and Tok.
Referenced by getEntityEndLoc().