Searched refs:clang (Results 26 - 50 of 1951) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DBaseSubobject.h16 #include "clang/AST/CharUnits.h"
17 #include "clang/AST/DeclCXX.h"
23 namespace clang { namespace
53 } // namespace clang
57 template<> struct DenseMapInfo<clang::BaseSubobject> {
58 static clang::BaseSubobject getEmptyKey() {
59 return clang::BaseSubobject(
60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
61 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
64 static clang
[all...]
H A DStmtGraphTraits.h17 #include "clang/AST/Stmt.h"
23 template <> struct GraphTraits<clang::Stmt *> {
24 using NodeRef = clang::Stmt *;
25 using ChildIteratorType = clang::Stmt::child_iterator;
26 using nodes_iterator = llvm::df_iterator<clang::Stmt *>;
28 static NodeRef getEntryNode(clang::Stmt *S) { return S; }
40 static nodes_iterator nodes_begin(clang::Stmt* S) {
44 static nodes_iterator nodes_end(clang::Stmt* S) {
49 template <> struct GraphTraits<const clang::Stmt *> {
50 using NodeRef = const clang
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.h15 #include "clang/Sema/SemaConsumer.h"
33 class ASTStructExtractor : public clang::SemaConsumer {
51 ASTStructExtractor(clang::ASTConsumer *passthrough, const char *struct_name,
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
[all...]
H A DClangASTImporter.h17 #include "clang/AST/ASTImporter.h"
18 #include "clang/AST/CharUnits.h"
19 #include "clang/AST/Decl.h"
20 #include "clang/AST/DeclCXX.h"
21 #include "clang/Basic/FileManager.h"
22 #include "clang/Basic/FileSystemOptions.h"
68 typedef llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
73 llvm::DenseMap<const clang::FieldDecl *, uint64_t> field_offsets;
79 : m_file_manager(clang
[all...]
H A DClangExternalASTSourceCallbacks.cpp12 #include "clang/AST/Decl.h"
13 #include "clang/AST/DeclObjC.h"
20 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) {
25 clang::ObjCInterfaceDecl *objc_decl) {
30 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
31 llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,
32 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> &BaseOffsets,
33 llvm::DenseMap<const clang::CXXRecordDecl *, clang
[all...]
H A DNameSearchContext.h30 llvm::SmallVectorImpl<clang::NamedDecl *> &m_decls;
35 const clang::DeclarationName m_decl_name;
37 const clang::DeclContext *m_decl_context;
65 llvm::SmallVectorImpl<clang::NamedDecl *> &decls,
66 clang::DeclarationName name, const clang::DeclContext *dc)
78 clang::NamedDecl *AddVarDecl(const CompilerType &type);
88 clang::NamedDecl *AddFunDecl(const CompilerType &type, bool extern_c = false);
92 clang::NamedDecl *AddGenericFunDecl();
99 clang
[all...]
H A DClangASTSource.h18 #include "clang/AST/ExternalASTSource.h"
19 #include "clang/Basic/IdentifierTable.h"
33 class ClangASTSource : public clang::ExternalASTSource,
52 clang::Decl *GetExternalDecl(uint32_t) override { return nullptr; }
53 clang::Stmt *GetExternalDeclStmt(uint64_t) override { return nullptr; }
54 clang::Selector GetExternalSelector(uint32_t) override {
55 return clang::Selector();
58 clang::CXXBaseSpecifier *
62 void MaterializeVisibleDecls(const clang::DeclContext *DC) {}
86 bool FindExternalVisibleDeclsByName(const clang
[all...]
H A DASTUtils.h12 #include "clang/Basic/Module.h"
13 #include "clang/Sema/Lookup.h"
14 #include "clang/Sema/MultiplexExternalSemaSource.h"
15 #include "clang/Sema/Sema.h"
16 #include "clang/Sema/SemaConsumer.h"
23 class ExternalASTSourceWrapper : public clang::ExternalSemaSource {
33 clang::Decl *GetExternalDecl(uint32_t ID) override {
37 clang::Selector GetExternalSelector(uint32_t ID) override {
45 clang::Stmt *GetExternalDeclStmt(uint64_t Offset) override {
49 clang
[all...]
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.h15 namespace clang { namespace
31 std::optional<const clang::CXXRecordDecl*>
32 isRefCountable(const clang::CXXBaseSpecifier* Base);
36 std::optional<bool> isRefCountable(const clang::CXXRecordDecl* Class);
39 bool isRefCounted(const clang::CXXRecordDecl *Class);
43 std::optional<bool> isUncounted(const clang::CXXRecordDecl* Class);
47 std::optional<bool> isUncountedPtr(const clang::Type* T);
51 bool isCtorOfRefCounted(const clang::FunctionDecl *F);
54 std::optional<bool> isGetterOfRefCounted(const clang::CXXMethodDecl* Method);
60 } // namespace clang
[all...]
H A DASTUtils.h12 #include "clang/AST/Decl.h"
19 namespace clang { namespace
53 std::pair<const clang::Expr *, bool>
54 tryToFindPtrOrigin(const clang::Expr *E, bool StopAtFirstRefCountedObj);
62 bool isASafeCallArg(const clang::Expr *E);
66 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);
78 } // namespace clang
/openbsd-current/gnu/usr.bin/clang/include/clang/StaticAnalyzer/Checkers/
H A DMakefile5 TBLGEN= ${.OBJDIR}/../../../../clang-tblgen/clang-tblgen
6 CLANG_INC=${.CURDIR}/../../../../../../llvm/clang/include
18 Checkers.inc: ${CLANG_INC}/clang/StaticAnalyzer/Checkers/Checkers.td
19 ${TBLGEN} -I${CLANG_INC}/clang/StaticAnalyzer/Checkers \
20 -I${CLANG_INC} -gen-clang-sa-checkers \
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h22 #include "clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h"
23 #include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
24 #include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
26 namespace clang { namespace
58 void checkDoubleNonblocking(const clang::ento::CallEvent &PreCallEvent,
59 clang::ento::CheckerContext &Ctx) const;
66 void checkUnmatchedWaits(const clang::ento::CallEvent &PreCallEvent,
67 clang::ento::CheckerContext &Ctx) const;
72 void checkMissingWaits(clang::ento::SymbolReaper &SymReaper,
73 clang
[all...]
/openbsd-current/gnu/usr.bin/clang/clang/
H A DMakefile7 PROG= clang
15 LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \
16 ${BINDIR}/clang ${BINDIR}/clang-cpp
18 .if ${COMPILER_VERSION:L} == "clang"
19 LINKS+= ${BINDIR}/clang ${BINDIR}/cc \
20 ${BINDIR}/clang ${BINDIR}/c++ \
21 ${BINDIR}/clang ${LIBEXECDIR}/cpp
26 rm -f cc.1 && ln clang
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Frontend/
H A DFrontendPluginRegistry.h16 #include "clang/Frontend/FrontendAction.h"
19 namespace clang { namespace
24 } // namespace clang
/openbsd-current/gnu/llvm/clang/lib/Basic/
H A DFileEntry.cpp10 /// Defines implementation for clang::FileEntry and clang::FileEntryRef.
14 #include "clang/Basic/FileEntry.h"
18 using namespace clang;
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowLattice.h17 namespace clang { namespace
29 } // namespace clang
/openbsd-current/gnu/llvm/clang/include/clang/Basic/
H A DMakeSupport.h12 #include "clang/Basic/LLVM.h"
15 namespace clang { namespace
21 } // namespace clang
/openbsd-current/gnu/llvm/clang/lib/Headers/
H A Dprfchwintrin.h52 #pragma clang diagnostic push
53 #pragma clang diagnostic ignored "-Wcast-qual"
55 #pragma clang diagnostic pop
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASupport.h31 #pragma clang diagnostic push
32 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
36 #pragma clang diagnostic pop
/openbsd-current/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h22 namespace clang { namespace
29 } // namespace clang
56 PdbAstBuilder(TypeSystemClang &clang);
62 clang::DeclContext *GetOrCreateDeclContextForUid(PdbSymUid uid);
63 clang::DeclContext *GetParentDeclContext(PdbSymUid uid);
65 clang::FunctionDecl *GetOrCreateFunctionDecl(PdbCompilandSymId func_id);
66 clang::FunctionDecl *
68 clang::BlockDecl *GetOrCreateBlockDecl(PdbCompilandSymId block_id);
69 clang::VarDecl *GetOrCreateVariableDecl(PdbCompilandSymId scope_id,
71 clang
87 TypeSystemClang &clang() { return m_clang; } function in class:lldb_private::npdb::PdbAstBuilder
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp19 #include "clang/AST/ASTContext.h"
20 #include "clang/AST/ASTImporter.h"
21 #include "clang/AST/Attr.h"
22 #include "clang/AST/CXXInheritance.h"
23 #include "clang/AST/DeclObjC.h"
24 #include "clang/AST/DeclTemplate.h"
25 #include "clang/AST/Mangle.h"
26 #include "clang/AST/RecordLayout.h"
27 #include "clang/AST/Type.h"
28 #include "clang/AS
[all...]
/openbsd-current/gnu/usr.bin/clang/include/clang/Parse/
H A DMakefile5 TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
6 CLANG_INC=${.CURDIR}/../../../../../llvm/clang/include
18 AttrParserStringSwitches.inc: ${CLANG_INC}/clang/Basic/Attr.td
19 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parser-string-switches \
22 AttrSubMatchRulesParserStringSwitches.inc: ${CLANG_INC}/clang/Basic/Attr.td
24 -gen-clang-attr-subject-match-rules-parser-string-switches \
/openbsd-current/gnu/usr.bin/clang/include/clang/Serialization/
H A DMakefile5 TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
6 CLANG_INC=${.CURDIR}/../../../../../llvm/clang/include
18 AttrPCHRead.inc: ${CLANG_INC}/clang/Basic/Attr.td
19 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-pch-read \
22 AttrPCHWrite.inc: ${CLANG_INC}/clang/Basic/Attr.td
23 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-pch-write \
/openbsd-current/gnu/usr.bin/clang/include/clang/Sema/
H A DMakefile5 TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
6 CLANG_SRCS=${.CURDIR}/../../../../../llvm/clang
24 AttrTemplateInstantiate.inc: ${CLANG_INC}/clang/Basic/Attr.td
25 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-template-instantiate \
28 AttrParsedAttrList.inc: ${CLANG_INC}/clang/Basic/Attr.td
29 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-list \
32 AttrParsedAttrKinds.inc: ${CLANG_INC}/clang/Basic/Attr.td
33 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-parsed-attr-kinds \
36 AttrSpellingListIndex.inc: ${CLANG_INC}/clang/Basi
[all...]
/openbsd-current/gnu/usr.bin/clang/include/clang/AST/
H A DMakefile5 TBLGEN= ${.OBJDIR}/../../../clang-tblgen/clang-tblgen
6 CLANG_SRCS=${.CURDIR}/../../../../../llvm/clang
37 Attrs.inc: ${CLANG_INC}/clang/Basic/Attr.td
38 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-classes \
41 AttrImpl.inc: ${CLANG_INC}/clang/Basic/Attr.td
42 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-impl \
45 AttrTextNodeDump.inc: ${CLANG_INC}/clang/Basic/Attr.td
46 ${TBLGEN} -I${CLANG_INC} -gen-clang-attr-text-node-dump \
49 AttrNodeTraverse.inc: ${CLANG_INC}/clang/Basi
[all...]

Completed in 403 milliseconds

1234567891011>>