Lines Matching defs:clang
16 #include "clang/Tooling/Refactoring/Rename/USRLocFinder.h"
17 #include "clang/AST/ASTContext.h"
18 #include "clang/AST/RecursiveASTVisitor.h"
19 #include "clang/Basic/LLVM.h"
20 #include "clang/Basic/SourceLocation.h"
21 #include "clang/Basic/SourceManager.h"
22 #include "clang/Lex/Lexer.h"
23 #include "clang/Tooling/Core/Lookup.h"
24 #include "clang/Tooling/Refactoring/RecursiveSymbolVisitor.h"
25 #include "clang/Tooling/Refactoring/Rename/SymbolName.h"
26 #include "clang/Tooling/Refactoring/Rename/USRFinder.h"
36 namespace clang {
43 bool IsValidEditLoc(const clang::SourceManager& SM, clang::SourceLocation Loc) {
46 const clang::FullSourceLoc FullLoc(Loc, SM);
47 std::pair<clang::FileID, unsigned> FileIdAndOffset =
112 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>()) {
146 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>())
452 if (const auto* TT = Loc.getType()->getAs<clang::TypedefType>())
542 if (!llvm::isa<clang::TranslationUnitDecl>(
584 } // end namespace clang