|
clang 22.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 391 of file SourceCode.cpp.
References clang::SourceLocation::getLocWithOffset(), clang::Lexer::getRawToken(), clang::Invalid, clang::isVerticalWhitespace(), clang::isWhitespace(), SM, and Tok.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 216 of file SourceCode.cpp.
References Tok.
Referenced by clang::ParentMapContext::ParentMap::::MatchParents, flattenClangCommandLine(), getEntityEndLoc(), and percentEncodeURICharacter().
|
static |
Definition at line 230 of file SourceCode.cpp.
References contains(), clang::File, clang::CharSourceRange::getEnd(), clang::Invalid, clang::SourceLocation::isMacroID(), clang::SourceLocation::isValid(), clang::Lexer::LexFromRawLexer(), clang::Lexer::SetKeepWhitespaceMode(), SM, startsWithNewline(), and Tok.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 124 of file SourceCode.cpp.
References clang::Invalid, clang::SourceLocation::isMacroID(), and SM.
Referenced by getRangeForSplitTokens().
|
static |
Definition at line 92 of file SourceCode.cpp.
References clang::SourceLocation::isMacroID(), and SM.
Referenced by spelledInMacroDefinition().
|
static |
Definition at line 168 of file SourceCode.cpp.
References clang::CharSourceRange::getCharRange(), clang::Lexer::getLocForEndOfToken(), getRangeForSplitTokens(), clang::Lexer::makeFileCharRange(), SM, and spelledInMacroDefinition().
Referenced by clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), clang::tooling::getFileRange(), clang::tooling::getFileRangeForEdit(), and clang::Sema::mergeDeclAttributes().
|
static |
Definition at line 144 of file SourceCode.cpp.
References clang::CharSourceRange::getCharRange(), getExpansionForSplitToken(), clang::CharSourceRange::getTokenRange(), and SM.
Referenced by getRange().
|
static |
Definition at line 359 of file SourceCode.cpp.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 375 of file SourceCode.cpp.
References clang::SourceLocation::getLocWithOffset(), clang::isHorizontalWhitespace(), clang::isVerticalWhitespace(), and SM.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 108 of file SourceCode.cpp.
References getMacroArgumentSpellingLoc(), and SM.
Referenced by getRange().
|
static |
Definition at line 212 of file SourceCode.cpp.
References clang::isVerticalWhitespace(), SM, and Tok.
Referenced by getEntityEndLoc().