/external/clang/test/Parser/ |
D | pragma-loop.cpp | 8 #pragma clang loop vectorize_width(V) interleave_count(I) in test_nontype_template_param() 13 #pragma clang loop vectorize_width(V + 4) interleave_count(I + 4) in test_nontype_template_param() 21 …/* expected-error {{invalid value '-1'; must be positive}} */ #pragma clang loop vectorize_width(V) in test_nontype_template_vectorize() 26 …/* expected-error {{invalid value '0'; must be positive}} */ #pragma clang loop vectorize_width(V … in test_nontype_template_vectorize() 34 …/* expected-error {{invalid value '-1'; must be positive}} */ #pragma clang loop interleave_count(… in test_nontype_template_interleave() 39 …/* expected-error {{invalid value '0'; must be positive}} */ #pragma clang loop interleave_count(2… in test_nontype_template_interleave() 47 …/* expected-error {{invalid argument of type 'char'; expected an integer type}} */ #pragma clang l… in test_nontype_template_char() 55 …/* expected-error {{invalid argument of type 'bool'; expected an integer type}} */ #pragma clang l… in test_nontype_template_bool() 63 …/* expected-error {{use of undeclared identifier 'Vec'}} */ #pragma clang loop vectorize_width(Vec… in test_nontype_template_badarg() 64 …/* expected-error {{use of undeclared identifier 'Int'}} */ #pragma clang loop vectorize_width(V) … in test_nontype_template_badarg() [all …]
|
D | pragma-loop-safety.cpp | 9 #pragma clang loop vectorize(assume_safety) in test() 10 #pragma clang loop interleave(assume_safety) in test() 15 /* expected-error {{expected ')'}} */ #pragma clang loop vectorize(assume_safety in test() 16 /* expected-error {{expected ')'}} */ #pragma clang loop interleave(assume_safety in test() 18 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loo… in test() 20 …id argument; expected 'enable', 'assume_safety' or 'disable'}} */ #pragma clang loop vectorize(bad… in test() 21 …id argument; expected 'enable', 'assume_safety' or 'disable'}} */ #pragma clang loop interleave(ba… in test() 22 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loo… in test() 27 …irectives 'vectorize(assume_safety)' and 'vectorize(enable)'}} */ #pragma clang loop vectorize(ena… in test() 28 #pragma clang loop vectorize(assume_safety) in test() [all …]
|
/external/clang/ |
D | clang-tblgen-rules.mk | 10 define transform-clang-td-to-out 12 $(call transform-host-clang-td-to-out,$(1)), \ 13 $(call transform-device-clang-td-to-out,$(1))) 25 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/AttrDump.inc 26 $(generated_sources)/include/clang/AST/AttrDump.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 27 $(generated_sources)/include/clang/AST/AttrDump.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td… 28 $(call transform-clang-td-to-out,clang-attr-dump) 32 LOCAL_GENERATED_SOURCES += $(generated_sources)/include/clang/AST/AttrImpl.inc 33 $(generated_sources)/include/clang/AST/AttrImpl.inc: TBLGEN_LOCAL_MODULE := $(LOCAL_MODULE) 34 $(generated_sources)/include/clang/AST/AttrImpl.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td… [all …]
|
/external/lldb/include/lldb/Symbol/ |
D | ClangASTContext.h | 38 typedef void (*CompleteTagDeclCallback)(void *baton, clang::TagDecl *); 39 typedef void (*CompleteObjCInterfaceDeclCallback)(void *baton, clang::ObjCInterfaceDecl *); 48 clang::ASTContext * 51 clang::Builtin::Context * 54 clang::IdentifierTable * 57 clang::LangOptions * 60 clang::SelectorTable * 63 clang::FileManager * 66 clang::SourceManager * 69 clang::DiagnosticsEngine * [all …]
|
D | ClangASTImporter.h | 90 m_file_manager(clang::FileSystemOptions()) in ClangASTImporter() 94 clang::QualType 95 CopyType (clang::ASTContext *dst_ctx, 96 clang::ASTContext *src_ctx, 97 clang::QualType type); 100 CopyType (clang::ASTContext *dst_ctx, 101 clang::ASTContext *src_ctx, 104 clang::Decl * 105 CopyDecl (clang::ASTContext *dst_ctx, 106 clang::ASTContext *src_ctx, [all …]
|
D | ClangExternalASTSourceCallbacks.h | 34 typedef void (*CompleteTagDeclCallback)(void *baton, clang::TagDecl *); 35 typedef void (*CompleteObjCInterfaceDeclCallback)(void *baton, clang::ObjCInterfaceDecl *); 36 …sByNameCallback)(void *baton, const clang::DeclContext *DC, clang::DeclarationName Name, llvm::Sma… 38 const clang::RecordDecl *Record, 41 … llvm::DenseMap <const clang::FieldDecl *, uint64_t> &FieldOffsets, 42 … llvm::DenseMap <const clang::CXXRecordDecl *, clang::CharUnits> &BaseOffsets, 43 … llvm::DenseMap <const clang::CXXRecordDecl *, clang::CharUnits> &VirtualBaseOffsets); 62 virtual clang::Decl * 70 virtual clang::Stmt * 79 virtual clang::Selector [all …]
|
/external/lldb/include/lldb/Expression/ |
D | ClangASTSource.h | 66 clang::Decl *GetExternalDecl (uint32_t) { return NULL; } in GetExternalDecl() 67 clang::Stmt *GetExternalDeclStmt (uint64_t) { return NULL; } in GetExternalDeclStmt() 68 clang::Selector GetExternalSelector (uint32_t) { return clang::Selector(); } in GetExternalSelector() 70 clang::CXXBaseSpecifier *GetExternalCXXBaseSpecifiers (uint64_t Offset) in GetExternalCXXBaseSpecifiers() 72 void MaterializeVisibleDecls (const clang::DeclContext *DC) in MaterializeVisibleDecls() 75 void InstallASTContext (clang::ASTContext *ast_context) in InstallASTContext() 104 FindExternalVisibleDeclsByName (const clang::DeclContext *DC, 105 clang::DeclarationName Name); 120 clang::ExternalLoadResult 121 FindExternalLexicalDecls (const clang::DeclContext *DC, [all …]
|
D | ASTResultSynthesizer.h | 32 class ASTResultSynthesizer : public clang::SemaConsumer 48 ASTResultSynthesizer(clang::ASTConsumer *passthrough, 63 void Initialize(clang::ASTContext &Context); 74 bool HandleTopLevelDecl(clang::DeclGroupRef D); 79 void HandleTranslationUnit(clang::ASTContext &Ctx); 84 void HandleTagDeclDefinition(clang::TagDecl *D); 89 void CompleteTentativeDefinition(clang::VarDecl *D); 94 void HandleVTable(clang::CXXRecordDecl *RD, bool DefinitionRequired); 108 void InitializeSema(clang::Sema &S); 123 void TransformTopLevelDecl(clang::Decl *D); [all …]
|
D | ASTStructExtractor.h | 35 class ASTStructExtractor : public clang::SemaConsumer 55 ASTStructExtractor(clang::ASTConsumer *passthrough, 71 void Initialize(clang::ASTContext &Context); 82 bool HandleTopLevelDecl(clang::DeclGroupRef D); 87 void HandleTranslationUnit(clang::ASTContext &Ctx); 92 void HandleTagDeclDefinition(clang::TagDecl *D); 97 void CompleteTentativeDefinition(clang::VarDecl *D); 102 void HandleVTable(clang::CXXRecordDecl *RD, bool DefinitionRequired); 116 void InitializeSema(clang::Sema &S); 131 ExtractFromFunctionDecl(clang::FunctionDecl* F); [all …]
|
/external/lldb/source/Symbol/ |
D | ClangASTType.cpp | 52 using namespace clang; 58 const clang::Type::TypeClass type_class = qual_type->getTypeClass(); in GetCompleteQualType() 61 case clang::Type::ConstantArray: in GetCompleteQualType() 62 case clang::Type::IncompleteArray: in GetCompleteQualType() 63 case clang::Type::VariableArray: in GetCompleteQualType() 72 case clang::Type::Record: in GetCompleteQualType() 73 case clang::Type::Enum: in GetCompleteQualType() 106 case clang::Type::ObjCObject: in GetCompleteQualType() 107 case clang::Type::ObjCInterface: in GetCompleteQualType() 141 case clang::Type::Typedef: in GetCompleteQualType() [all …]
|
D | ClangExternalASTSourceCallbacks.cpp | 45 using namespace clang; 51 const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() 52 clang::DeclarationName clang_decl_name in FindExternalVisibleDeclsByName() 57 llvm::SmallVector <clang::NamedDecl *, 3> results; in FindExternalVisibleDeclsByName() 70 case clang::DeclarationName::Identifier: in FindExternalVisibleDeclsByName() 79 case clang::DeclarationName::ObjCZeroArgSelector: in FindExternalVisibleDeclsByName() 84 case clang::DeclarationName::ObjCOneArgSelector: in FindExternalVisibleDeclsByName() 89 case clang::DeclarationName::ObjCMultiArgSelector: in FindExternalVisibleDeclsByName() 94 case clang::DeclarationName::CXXConstructorName: in FindExternalVisibleDeclsByName() 100 case clang::DeclarationName::CXXDestructorName: in FindExternalVisibleDeclsByName() [all …]
|
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCTypeVendor.cpp | 34 FindExternalVisibleDeclsByName (const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() 35 clang::DeclarationName name) in FindExternalVisibleDeclsByName() 54 …const clang::ObjCInterfaceDecl *interface_decl = llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx… in FindExternalVisibleDeclsByName() 59 …clang::ObjCInterfaceDecl *non_const_interface_decl = const_cast<clang::ObjCInterfaceDecl*>(interfa… in FindExternalVisibleDeclsByName() 64 clang::DeclContext::lookup_const_result result = non_const_interface_decl->lookup(name); in FindExternalVisibleDeclsByName() 74 clang::ExternalLoadResult 75 FindExternalLexicalDecls (const clang::DeclContext *DC, in FindExternalLexicalDecls() 76 bool (*isKindWeWant)(clang::Decl::Kind), in FindExternalLexicalDecls() 77 llvm::SmallVectorImpl<clang::Decl*> &Decls) in FindExternalLexicalDecls() 79 return clang::ELR_Success; in FindExternalLexicalDecls() [all …]
|
/external/clang/include/clang/AST/ |
D | TypeOrdering.h | 26 namespace clang { 40 template<> struct DenseMapInfo<clang::QualType> { 41 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 43 static inline clang::QualType getTombstoneKey() { 44 using clang::QualType; 45 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1)); 48 static unsigned getHashValue(clang::QualType Val) { 53 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { 58 template<> struct DenseMapInfo<clang::CanQualType> { 59 static inline clang::CanQualType getEmptyKey() { [all …]
|
D | BaseSubobject.h | 22 namespace clang { 55 template<> struct DenseMapInfo<clang::BaseSubobject> { 56 static clang::BaseSubobject getEmptyKey() { 57 return clang::BaseSubobject( 58 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 59 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey())); 62 static clang::BaseSubobject getTombstoneKey() { 63 return clang::BaseSubobject( 64 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(), 65 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey())); [all …]
|
D | StmtGraphTraits.h | 27 template <> struct GraphTraits<clang::Stmt*> { 28 typedef clang::Stmt NodeType; 29 typedef clang::Stmt::child_iterator ChildIteratorType; 30 typedef llvm::df_iterator<clang::Stmt*> nodes_iterator; 32 static NodeType* getEntryNode(clang::Stmt* S) { return S; } 44 static nodes_iterator nodes_begin(clang::Stmt* S) { 48 static nodes_iterator nodes_end(clang::Stmt* S) { 54 template <> struct GraphTraits<const clang::Stmt*> { 55 typedef const clang::Stmt NodeType; 56 typedef clang::Stmt::const_child_iterator ChildIteratorType; [all …]
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 51 static bool GetMangledName(clang::MangleContext* ctx, in GetMangledName() 52 const clang::NamedDecl* decl, in GetMangledName() 54 if (!llvm::isa<clang::CXXConstructorDecl>(decl) && in GetMangledName() 55 !llvm::isa<clang::CXXDestructorDecl>(decl)) { in GetMangledName() 67 static bool InV8Namespace(const clang::NamedDecl* decl) { in InV8Namespace() 75 static bool IsExternalVMState(const clang::ValueDecl* var) { in IsExternalVMState() 76 const clang::EnumConstantDecl* enum_constant = in IsExternalVMState() 77 llvm::dyn_cast<clang::EnumConstantDecl>(var); in IsExternalVMState() 79 clang::QualType type = enum_constant->getType(); in IsExternalVMState() 88 explicit Resolver(clang::ASTContext& ctx) in Resolver() [all …]
|
/external/clang/test/Preprocessor/ |
D | pragma_diagnostic_sections.cpp | 7 #pragma clang diagnostic push 8 #pragma clang diagnostic ignored "-Wtautological-compare" 10 #pragma clang diagnostic pop 17 #pragma clang diagnostic push 18 #pragma clang diagnostic ignored "-Wtautological-compare" 23 #pragma clang diagnostic pop 34 #pragma clang diagnostic push 35 #pragma clang diagnostic ignored "-Wunused-macros" 37 #pragma clang diagnostic pop 41 #pragma clang diagnostic push [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersMacros.h | 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \ 108 return ::clang::ast_matchers::internal::makeMatcher( \ 113 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 114 ::clang::ast_matchers::internal::BoundNodesTreeBuilder *Builder) const 136 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 142 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ [all …]
|
/external/clang/include/clang/Analysis/ |
D | CallGraph.h | 26 namespace clang { 173 template <> struct GraphTraits<clang::CallGraphNode*> { 174 typedef clang::CallGraphNode NodeType; 175 typedef clang::CallGraphNode::CallRecord CallRecordTy; 177 clang::CallGraphNode*> CGNDerefFun; 178 static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; } 186 static clang::CallGraphNode *CGNDeref(CallRecordTy P) { 191 template <> struct GraphTraits<const clang::CallGraphNode*> { 192 typedef const clang::CallGraphNode NodeType; 194 static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; } [all …]
|
/external/clang/tools/driver/ |
D | CMakeLists.txt | 19 option(CLANG_PLUGIN_SUPPORT "Build clang with plugin support" ON) 27 add_clang_executable(clang 33 target_link_libraries(clang 44 set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION}) 49 export_executable_symbols(clang) 52 add_dependencies(clang clang-headers) 54 install(TARGETS clang 56 COMPONENT clang) 59 add_custom_target(install-clang 60 DEPENDS clang [all …]
|
/external/clang/tools/clang-format/ |
D | CMakeLists.txt | 3 add_clang_executable(clang-format 14 target_link_libraries(clang-format 22 install(TARGETS clang-format RUNTIME DESTINATION bin) 23 install(PROGRAMS clang-format-bbedit.applescript DESTINATION share/clang) 24 install(PROGRAMS clang-format-diff.py DESTINATION share/clang) 25 install(PROGRAMS clang-format-sublime.py DESTINATION share/clang) 26 install(PROGRAMS clang-format.el DESTINATION share/clang) 27 install(PROGRAMS clang-format.py DESTINATION share/clang) 28 install(PROGRAMS git-clang-format DESTINATION bin)
|
/external/clang/test/SemaCXX/ |
D | switch-implicit-fallthrough.cpp | 55 [[clang::fallthrough]]; in fallthrough() 58 [[clang::fallthrough]]; in fallthrough() 63 [[clang::fallthrough]]; in fallthrough() 70 [[clang::fallthrough]]; in fallthrough() 182 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position() 184 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position() 186 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position() 188 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position() 190 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swi… in fallthrough_position() 193 …[[clang::fallthrough]]; // expected-warning{{fallthrough annotation does not directly precede swit… in fallthrough_position() [all …]
|
D | captured-statements.cpp | 8 #pragma clang __debug captured in test_nest_lambda() 17 #pragma clang __debug captured in test_nest_lambda() 34 #pragma clang __debug captured in test() 36 #pragma clang __debug captured in test() 45 #pragma clang __debug captured in test() 47 #pragma clang __debug captured in test() 49 #pragma clang __debug captured in test() 57 #pragma clang _debug captured in template_capture_var() 68 #pragma clang __debug captured in set() 85 #pragma clang _debug captured in template_capture_var() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | pragma-loop.cpp | 8 #pragma clang loop vectorize(enable) in while_test() 9 #pragma clang loop interleave_count(4) in while_test() 10 #pragma clang loop vectorize_width(4) in while_test() 11 #pragma clang loop unroll(full) in while_test() 23 #pragma clang loop vectorize_width(8) interleave_count(4) unroll(disable) in do_test() 35 #pragma clang loop interleave(enable) in for_test() 36 #pragma clang loop interleave_count(static_cast<int>(Tuner::Interleave)) in for_test() 37 #pragma clang loop unroll_count(static_cast<int>(Tuner::Unroll)) in for_test() 49 #pragma clang loop vectorize_width(2) interleave_count(2) in for_range_test() 58 #pragma clang loop vectorize(disable) unroll(disable) in disable_test() [all …]
|
/external/clang/utils/VtableTest/ |
D | Makefile | 2 CLANGXX := clang++ 15 test-clang.sum: test.cc 16 time $(CLANGXX) test.cc -o test-clang.s -S 17 $(CLANGXX) test-clang.s -o test-clang 18 ./test-clang >test-clang.sum 20 one: test-gcc.sum test-clang.sum 21 cmp test-gcc.sum test-clang.sum 24 rm -f gen test-gcc test-clang test.cc test-gcc.sum test-clang.sum test-gcc.s test-clang.s
|