Home
last modified time | relevance | path

Searched refs:clang (Results 1 – 25 of 1823) sorted by relevance

12345678910>>...73

/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp90 using namespace clang;
123 bool isOverload(clang::CXXMethodDecl *m1, clang::CXXMethodDecl *m2) { in isOverload()
1196 clang::Decl *decl = static_cast<clang::Decl *>(opaque_decl); in GetTypeForDecl()
1960 clang::BlockDecl *
1974 clang::DeclContext *FindLCABetweenDecls(clang::DeclContext *left, in FindLCABetweenDecls()
1998 clang::SourceLocation(), clang::NestedNameSpecifierLoc(), in CreateUsingDirectiveDeclaration()
2009 clang::UsingDecl *
2014 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration()
2215 clang::CallingConv cc, clang::RefQualifierKind ref_qual) { in CreateFunctionType()
7626 clang::StorageClass SC = is_static ? clang::SC_Static : clang::SC_None; in AddMethodToCXXRecordType()
[all …]
H A DTypeSystemClang.h44 namespace clang {
186 static bool GetCompleteDecl(clang::ASTContext *ast, clang::Decl *decl);
199 clang::AccessSpecifier
216 static clang::DeclContext *GetDeclContextForType(clang::QualType type);
420 clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template,
479 clang::CallingConv cc = clang::CC_C,
480 clang::RefQualifierKind ref_qual = clang::RQ_None);
482 clang::ParmVarDecl *
532 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
534 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
[all …]
/freebsd/contrib/llvm-project/clang/include/
H A Dmodule.modulemap2 umbrella "clang-c"
8 umbrella "clang/Analysis"
23 umbrella "clang/AST"
37 umbrella "clang/Basic"
95 header "clang/Basic/TokenKinds.h"
124 umbrella "clang/Driver"
136 umbrella "clang/Frontend"
153 umbrella "clang/Serialization"
162 umbrella "clang/StaticAnalyzer/Core"
187 umbrella "clang/Testing"
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h54 clang::CXXBaseSpecifier *
125 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
127 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
282 clang::Selector Sel; in GetExternalSelector()
408 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
410 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
455 llvm::MapVector<clang::NamedDecl *, clang::SourceLocation> &Undefined) in ReadUndefinedButUsed()
469 bool LookupUnqualified(clang::LookupResult &R, clang::Scope *S) override { in LookupUnqualified()
531 std::pair<clang::ValueDecl *, clang::SourceLocation>> &Pending) in ReadPendingInstantiations()
545 clang::TypoCorrection
[all …]
H A DClangASTImporter.h68 typedef llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
97 clang::Decl *CopyDecl(clang::ASTContext *dst_ctx, clang::Decl *decl);
110 clang::Decl *DeportDecl(clang::ASTContext *dst_ctx, clang::Decl *decl);
125 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
127 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
168 void SetDeclOrigin(const clang::Decl *decl, clang::Decl *original_decl);
221 DeclOrigin(clang::ASTContext *_ctx, clang::Decl *_decl) in DeclOrigin()
248 virtual void NewDeclImported(clang::Decl *from, clang::Decl *to) = 0;
311 void ImportDefinitionTo(clang::Decl *to, clang::Decl *from);
313 void Imported(clang::Decl *from, clang::Decl *to) override;
[all …]
H A DClangASTSource.h55 return clang::Selector(); in GetExternalSelector()
58 clang::CXXBaseSpecifier *
139 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
141 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
188 clang::NamespaceDecl *
198 clang::Sema *getSema();
237 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
239 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
267 clang::ObjCInterfaceDecl *
340 clang::Decl *CopyDecl(clang::Decl *src_decl);
[all …]
H A DASTResultSynthesizer.h15 namespace clang {
37 class ASTResultSynthesizer : public clang::SemaConsumer {
65 void Initialize(clang::ASTContext &Context) override;
86 void HandleVTable(clang::CXXRecordDecl *RD) override;
96 void InitializeSema(clang::Sema &S) override;
111 void TransformTopLevelDecl(clang::Decl *D);
135 bool SynthesizeBodyResult(clang::CompoundStmt *Body, clang::DeclContext *DC);
146 void MaybeRecordPersistentType(clang::TypeDecl *D);
150 void RecordPersistentDecl(clang::NamedDecl *D);
152 clang::ASTContext
[all …]
H A DClangExternalASTSourceCallbacks.cpp25 clang::ObjCInterfaceDecl *objc_decl) { in CompleteType()
32 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> &BaseOffsets, in layoutRecordType()
33 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
40 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls()
42 llvm::SmallVectorImpl<clang::Decl *> &decls) { in FindExternalLexicalDecls()
44 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
45 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
52 const clang::DeclContext *DC, clang::DeclarationName Name) { in FindExternalVisibleDeclsByName()
53 llvm::SmallVector<clang::NamedDecl *, 4> decls; in FindExternalVisibleDeclsByName()
73 std::optional<clang::ASTSourceDescriptor>
[all …]
H A DClangExternalASTSourceCallbacks.h30 const clang::DeclContext *DC,
31 llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant,
32 llvm::SmallVectorImpl<clang::Decl *> &Result) override;
37 void CompleteType(clang::TagDecl *tag_decl) override;
44 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
46 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
53 std::optional<clang::ASTSourceDescriptor>
55 clang::Module *getModule(unsigned ID) override;
56 OptionalClangModuleID RegisterModule(clang::Module *module);
61 std::vector<clang::Module *> m_modules;
[all …]
H A DClangASTImporter.cpp31 using namespace clang;
66 clang::Decl *ClangASTImporter::CopyDecl(clang::ASTContext *dst_ast, in CopyDecl()
127 clang::Decl *decl, clang::DeclContext *base, in ChainPassesThrough()
128 clang::DeclContext *(clang::Decl::*contextFromDecl)(), in ChainPassesThrough()
140 clang::Decl *GetEscapedChild(clang::Decl *decl, in GetEscapedChild()
152 base = clang::dyn_cast<clang::DeclContext>(decl); in GetEscapedChild()
160 clang::dyn_cast<clang::DeclContext>(decl)) { in GetEscapedChild()
524 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in LayoutRecordType()
896 clang::Decl *to, clang::Decl *from) { in ImportDefinitionTo()
914 if (clang::TagDecl *to_tag = dyn_cast<clang::TagDecl>(to)) { in ImportDefinitionTo()
[all …]
H A DClangModulesDeclVendor.cpp121 clang::ModuleLoadResult DoGetModule(clang::ModuleIdPath path,
147 clang::DiagnosticOptions *m_options = new clang::DiagnosticOptions(); in StoringDiagnosticConsumer()
154 clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &info) { in HandleDiagnostic()
183 const clang::LangOptions &LangOpts, const clang::Preprocessor *PP) { in BeginSourceFile()
310 clang::HeaderSearch &HS = in AddModule()
349 llvm::SmallVector<std::pair<clang::IdentifierInfo *, clang::SourceLocation>, in AddModule()
456 clang::SourceLocation(), clang::Sema::LookupOrdinaryName); in FindDecls()
636 clang::ModuleLoadResult
640 make_visible ? clang::Module::AllVisible : clang::Module::Hidden; in DoGetModule()
754 std::unique_ptr<clang::FrontendAction> action(new clang::SyntaxOnlyAction); in Create()
[all …]
H A DASTStructExtractor.h33 class ASTStructExtractor : public clang::SemaConsumer {
62 void Initialize(clang::ASTContext &Context) override;
71 bool HandleTopLevelDecl(clang::DeclGroupRef D) override;
74 void HandleTranslationUnit(clang::ASTContext &Ctx) override;
77 void HandleTagDeclDefinition(clang::TagDecl *D) override;
80 void CompleteTentativeDefinition(clang::VarDecl *D) override;
83 void HandleVTable(clang::CXXRecordDecl *RD) override;
93 void InitializeSema(clang::Sema &S) override;
104 void ExtractFromFunctionDecl(clang::FunctionDecl *F);
112 void ExtractFromTopLevelDecl(clang::Decl *D);
[all …]
/freebsd/targets/pseudo/clang/
H A DMakefile.depend7 lib/clang/headers \
8 share/doc/llvm/clang \
9 usr.bin/clang/clang \
10 usr.bin/clang/clang-tblgen \
39 usr.bin/clang/lldb
45 usr.bin/clang/llc \
46 usr.bin/clang/lli \
47 usr.bin/clang/llvm-ar \
48 usr.bin/clang/llvm-as \
69 usr.bin/clang/opt \
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h22 namespace clang {
56 PdbAstBuilder(TypeSystemClang &clang);
66 clang::FunctionDecl *
78 bool CompleteTagDecl(clang::TagDecl &tag);
79 bool CompleteType(clang::QualType qt);
87 TypeSystemClang &clang() { return m_clang; } in clang() function
93 clang::Decl *TryGetDecl(PdbSymUid uid) const;
97 clang::QualType
99 clang::QualType
106 clang::QualType
[all …]
H A DPdbAstBuilder.cpp163 PdbAstBuilder::PdbAstBuilder(TypeSystemClang &clang) : m_clang(clang) {} in PdbAstBuilder() argument
252 clang::Decl *scope_decl = clang::Decl::castFromDeclContext(scope); in GetOrCreateSymbolForId()
588 clang::QualType
652 clang::BlockDecl *
689 clang::VarDecl *
822 clang::QualType qt; in GetOrCreateType()
851 clang::FunctionDecl *
862 clang::QualType parent_qt = llvm::cast<clang::TypeDecl>(parent) in CreateFunctionDecl()
1040 clang::StorageClass storage = clang::SC_None; in GetOrCreateFunctionDecl()
1389 clang::Decl *decl = clang::Decl::castFromDeclContext(&context); in ParseDeclsForSimpleContext()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h58 return ::clang::ast_matchers::internal::MemoizedMatcher< \
97 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \
101 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \
102 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \
106 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \
113 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const
159 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const
211 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const
222 void(::clang::ast_matchers::internal::TypeList<__VA_ARGS__>)
252 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp114 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
116 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType()
144 clang::ObjCInterfaceDecl *
164 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA()
298 clang::ObjCMethodDecl *
347 clang::QualType ret_type = in BuildMethod()
354 clang::ObjCMethodDecl *ret = clang::ObjCMethodDecl::Create( in BuildMethod()
355 ast_ctx, clang::SourceLocation(), clang::SourceLocation(), sel, in BuildMethod()
364 clang::QualType arg_type = in BuildMethod()
373 ast_ctx, ret, clang::SourceLocation(), clang::SourceLocation(), in BuildMethod()
[all …]
/freebsd/usr.bin/clang/clang/
H A DMakefile4 PROG_CXX= clang
6 SRCDIR= clang/tools/driver
10 SRCS+= clang-driver.cpp
13 LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \
14 ${BINDIR}/clang ${BINDIR}/clang-cpp
15 MLINKS= clang.1 clang++.1 \
16 clang.1 clang-cpp.1
24 MLINKS+= clang.1 cc.1 \
25 clang.1 c++.1 \
26 clang.1 CC.1 \
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeOrdering.h25 namespace clang {
38 template<> struct DenseMapInfo<clang::QualType> {
39 static inline clang::QualType getEmptyKey() { return clang::QualType(); }
41 static inline clang::QualType getTombstoneKey() {
42 using clang::QualType;
51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
56 template<> struct DenseMapInfo<clang::CanQualType> {
57 static inline clang::CanQualType getEmptyKey() {
58 return clang::CanQualType();
62 using clang::CanQualType;
[all …]
H A DBaseSubobject.h23 namespace clang {
57 template<> struct DenseMapInfo<clang::BaseSubobject> {
58 static clang::BaseSubobject getEmptyKey() {
59 return clang::BaseSubobject(
60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
64 static clang::BaseSubobject getTombstoneKey() {
65 return clang::BaseSubobject(
70 static unsigned getHashValue(const clang::BaseSubobject &Base) {
71 using PairTy = std::pair<const clang::CXXRecordDecl *, clang::CharUnits>;
77 static bool isEqual(const clang::BaseSubobject &LHS,
[all …]
/freebsd/lib/clang/libclang/
H A DMakefile5 LIB= clang
21 SRCDIR= clang/lib
844 clang/AST/AttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
862 clang/AST/AttrVisitor.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
868 clang/AST/Attrs.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
915 clang/AST/DeclNodes.inc: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
928 clang/AST/StmtNodes.inc: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
934 clang/AST/TypeNodes.inc: ${CLANG_SRCS}/include/clang/Basic/TypeNodes.td
958 clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
981 ${CLANG_TBLGEN} -gen-clang-diags-defs -clang-component=${hdr} \
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h30 namespace clang {
219 return clang::CallGraphNode::CallRecord(
225 return clang::CallGraphNode::CallRecord(
244 using NodeType = clang::CallGraphNode;
245 using NodeRef = clang::CallGraphNode *;
254 using NodeType = const clang::CallGraphNode;
255 using NodeRef = const clang::CallGraphNode *;
263 template <> struct GraphTraits<clang::CallGraph*>
264 : public GraphTraits<clang::CallGraphNode*> {
269 static clang::CallGraphNode *
[all …]
/freebsd/
H A DObsoleteFiles.inc456 OLD_DIRS+=usr/lib/clang/17/lib
460 OLD_DIRS+=usr/lib/clang/17/share
461 OLD_DIRS+=usr/lib/clang/17
922 OLD_DIRS+=usr/lib/clang/16/lib
927 OLD_DIRS+=usr/lib/clang/16
1458 OLD_DIRS+=usr/lib/clang/15.0.7
1998 OLD_DIRS+=usr/lib/clang/14.0.5
2512 OLD_DIRS+=usr/lib/clang/14.0.4
2824 OLD_DIRS+=usr/lib/clang/14.0.3
8809 OLD_DIRS+=usr/lib/clang/9.0.1
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h23 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic)
24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::DiagnosticMessage) in LLVM_YAML_IS_SEQUENCE_VECTOR()
25 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::FileByteRange) in LLVM_YAML_IS_SEQUENCE_VECTOR()
30 template <> struct MappingTraits<clang::tooling::FileByteRange> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
43 std::vector<clang::tooling::Replacement> Fixes; in LLVM_YAML_IS_SEQUENCE_VECTOR()
60 template <> struct MappingTraits<clang::tooling::Diagnostic> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
72 clang::tooling::Diagnostic denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
78 clang::tooling::DiagnosticMessage Message; in LLVM_YAML_IS_SEQUENCE_VECTOR()
79 SmallVector<clang::tooling::DiagnosticMessage, 1> Notes; in LLVM_YAML_IS_SEQUENCE_VECTOR()
80 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h29 namespace clang {
172 class OptionalStorage<clang::DirectoryEntryRef>
173 : public clang::FileMgr::MapEntryOptionalStorage<clang::DirectoryEntryRef> {
175 clang::FileMgr::MapEntryOptionalStorage<clang::DirectoryEntryRef>;
207 return clang::DirectoryEntryRef(
217 static inline clang::DirectoryEntryRef getEmptyKey() {
218 return clang::DirectoryEntryRef(
219 clang::DirectoryEntryRef::dense_map_empty_tag());
223 return clang::DirectoryEntryRef(
231 static bool isEqual(clang::DirectoryEntryRef LHS,
[all …]

12345678910>>...73