clang 20.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 376 of file SourceCode.cpp.
References clang::Token::getKind(), clang::SourceLocation::getLocWithOffset(), clang::Lexer::getRawToken(), clang::Invalid, clang::isVerticalWhitespace(), clang::isWhitespace(), Loc, and SM.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 201 of file SourceCode.cpp.
References clang::Token::getKind().
Referenced by getEntityEndLoc(), and percentEncodeURICharacter().
|
static |
Definition at line 215 of file SourceCode.cpp.
References contains(), clang::File, clang::CharSourceRange::getEnd(), clang::Token::getEndLoc(), clang::Token::getKind(), clang::Invalid, clang::SourceLocation::isMacroID(), clang::SourceLocation::isValid(), clang::Lexer::LexFromRawLexer(), clang::Lexer::SetKeepWhitespaceMode(), SM, and startsWithNewline().
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 108 of file SourceCode.cpp.
References clang::Invalid, clang::SourceLocation::isMacroID(), Loc, and SM.
Referenced by getRangeForSplitTokens().
|
static |
Definition at line 152 of file SourceCode.cpp.
References E, clang::CharSourceRange::getCharRange(), clang::Lexer::getLocForEndOfToken(), getRangeForSplitTokens(), clang::Lexer::makeFileCharRange(), Range, SM, and spelledInMacroDefinition().
Referenced by clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), clang::tooling::getFileRange(), clang::tooling::getFileRangeForEdit(), and clang::Sema::mergeDeclAttributes().
|
static |
Definition at line 128 of file SourceCode.cpp.
References clang::SourceRange::getBegin(), clang::CharSourceRange::getCharRange(), clang::SourceRange::getEnd(), getExpansionForSplitToken(), clang::CharSourceRange::getTokenRange(), Range, and SM.
Referenced by getRange().
|
static |
Definition at line 344 of file SourceCode.cpp.
References D.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 360 of file SourceCode.cpp.
References clang::SourceLocation::getLocWithOffset(), clang::isHorizontalWhitespace(), clang::isVerticalWhitespace(), Loc, and SM.
Referenced by clang::tooling::getAssociatedRange().
|
static |
Definition at line 89 of file SourceCode.cpp.
References clang::SourceLocation::isMacroID(), Loc, and SM.
Referenced by getRange().
|
static |
Definition at line 197 of file SourceCode.cpp.
References clang::Token::getLocation(), clang::isVerticalWhitespace(), and SM.
Referenced by getEntityEndLoc().