Home
last modified time | relevance | path

Searched refs:TranslationUnit (Results 1 – 20 of 20) sorted by relevance

/src/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DMutations.h25 const syntax::TranslationUnit &TU);
H A DBuildTree.h25 syntax::TranslationUnit *
H A DNodes.td20 def TranslationUnit : Unconstrained {
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp304 case Decl::TranslationUnit: in getDefinitiveDeclContext()
362 case Decl::TranslationUnit: in isRedeclarableDeclKind()
/src/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DSynthesis.cpp75 case syntax::NodeKind::TranslationUnit: in allocateTree()
76 return new (A.getAllocator()) syntax::TranslationUnit; in allocateTree()
H A DComputeReplacements.cpp94 const syntax::TranslationUnit &TU) { in computeReplacements()
H A DBuildTree.cpp440 syntax::TranslationUnit *finalize() && { in finalize()
447 new (Arena.getAllocator()) syntax::TranslationUnit); in finalize()
449 auto *TU = cast<syntax::TranslationUnit>(std::move(Pending).finalize()); in finalize()
1754 syntax::TranslationUnit *syntax::buildSyntaxTree(Arena &A, in buildSyntaxTree()
/src/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-enumerations.h198 TranslationUnit = 1, enumerator
/src/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h39 CXTranslationUnit TranslationUnit; member
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp965 case TranslationUnit: in getIdentifierNamespaceForKind()
1372 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext()
1386 while (DC->getDeclKind() != Decl::TranslationUnit) { in getExternCContext()
1442 case Decl::TranslationUnit: in getPrimaryContext()
1510 if (Kind == Decl::TranslationUnit) in collectAllContexts()
H A DDecl.cpp105 : Decl(TranslationUnit, nullptr, SourceLocation()), in TranslationUnitDecl()
106 DeclContext(TranslationUnit), redeclarable_base(ctx), Ctx(ctx) {} in TranslationUnitDecl()
306 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DDeclNodes.td13 def TranslationUnit : DeclNode<Decl>, DeclContext;
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2161 return getDeclKind() == Decl::TranslationUnit ||
2166 return getDeclKind() == Decl::TranslationUnit;
H A DDecl.h129 static bool classofKind(Kind K) { return K == TranslationUnit; } in classofKind()
/src/contrib/llvm-project/lldb/source/Symbol/
H A DType.cpp199 case CompilerContextKind::TranslationUnit: in Dump()
/src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1215 return D->getKind() == Decl::TranslationUnit; in matchesAnyAncestorOf()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp54 case Decl::TranslationUnit: in EmitDecl()
/src/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9186 case Decl::TranslationUnit: in GetCompilerKind()
9187 return CompilerContextKind::TranslationUnit; in GetCompilerKind()
9216 if (clang_kind == Decl::TranslationUnit) in InsertCompilerContext()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp4143 case Decl::TranslationUnit: in getCursorKindForDecl()
H A DSemaDeclCXX.cpp12016 case Decl::TranslationUnit: in IsUsingDirectiveInToplevelContext()