| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | pragma-attribute.cpp | 7 #pragma clang attribute pop 10 #pragma clang attribute pop 13 #pragma clang attribute pop 16 #pragma clang attribute pop 108 #pragma clang attribute pop 128 #pragma clang attribute pop 136 #pragma clang attribute pop in statementPragmasAndPragmaExpression() 149 #pragma clang attribute pop 151 #pragma clang attribute push ([[clang::disable_tail_calls]], apply_to = function) 196 #pragma clang attribute push([[clang::no_destroy]], apply_to = variable) [all …]
|
| H A D | pragma-loop.cpp | 88 #pragma clang loop vectorize(enable) in test() 89 #pragma clang loop interleave(enable) in test() 91 #pragma clang loop unroll(full) in test() 96 #pragma clang loop vectorize_width(4) in test() 98 #pragma clang loop unroll_count(16) in test() 106 #pragma clang loop unroll(disable) in test() 251 #pragma clang loop unroll_count(4) in test() 264 #pragma clang loop unroll(full) in test() 276 #pragma clang loop unroll(disable) in test() 286 #pragma clang loop unroll_count(8) in test() [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/ |
| H A D | BUILD.gn | 68 "//clang-tools-extra/clang-tidy/abseil", 69 "//clang-tools-extra/clang-tidy/altera", 70 "//clang-tools-extra/clang-tidy/android", 71 "//clang-tools-extra/clang-tidy/boost", 73 "//clang-tools-extra/clang-tidy/cert", 76 "//clang-tools-extra/clang-tidy/darwin", 78 "//clang-tools-extra/clang-tidy/google", 79 "//clang-tools-extra/clang-tidy/hicpp", 81 "//clang-tools-extra/clang-tidy/llvm", 83 "//clang-tools-extra/clang-tidy/misc", [all …]
|
| /llvm-project-15.0.7/utils/bazel/llvm-project-overlay/clang/unittests/ |
| H A D | BUILD.bazel | 22 "//clang:ast", 24 "//clang:basic", 26 "//clang:lex", 27 "//clang:testing", 64 "//clang:ast", 106 "//clang:ast", 109 "//clang:lex", 130 "//clang:ast", 133 "//clang:lex", 154 "//clang:lex", [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 84 using namespace clang; 118 bool isOverload(clang::CXXMethodDecl *m1, clang::CXXMethodDecl *m2) { in isOverload() 1194 clang::Decl *decl = static_cast<clang::Decl *>(opaque_decl); in GetTypeForDecl() 1920 clang::BlockDecl * 1934 clang::DeclContext *FindLCABetweenDecls(clang::DeclContext *left, in FindLCABetweenDecls() 1958 clang::SourceLocation(), clang::NestedNameSpecifierLoc(), in CreateUsingDirectiveDeclaration() 1969 clang::UsingDecl * 1974 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration() 7676 clang::StorageClass SC = is_static ? clang::SC_Static : clang::SC_None; in AddMethodToCXXRecordType() 9369 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in LayoutRecordType() [all …]
|
| H A D | TypeSystemClang.h | 43 namespace clang { 185 static bool DeclsAreEquivalent(clang::Decl *lhs_decl, clang::Decl *rhs_decl); 187 static bool GetCompleteDecl(clang::ASTContext *ast, clang::Decl *decl); 200 clang::AccessSpecifier 217 static clang::DeclContext *GetDeclContextForType(clang::QualType type); 347 clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template, 404 clang::CallingConv cc = clang::CC_C); 406 clang::ParmVarDecl * 453 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> 455 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | pragma-attribute-strict-subjects.c | 5 #pragma clang attribute pop 13 #pragma clang attribute pop 18 #pragma clang attribute pop 23 #pragma clang attribute pop 28 #pragma clang attribute pop 34 #pragma clang attribute pop 40 #pragma clang attribute pop 44 #pragma clang attribute pop 48 #pragma clang attribute pop 52 #pragma clang attribute pop [all …]
|
| H A D | annotate-type.c | 5 void foo(float *[[clang::annotate_type("foo")]] a) { in foo() 6 int [[clang::annotate_type("bar")]] x1; in foo() 7 int *[[clang::annotate_type("bar")]] x2; in foo() 8 int *[[clang::annotate_type("bar", 1)]] x3; in foo() 9 int *[[clang::annotate_type("bar", 1 + 2)]] x4; in foo() 10 struct {} [[clang::annotate_type("foo")]] x5; in foo() 11 …int [[clang::annotate_type("int")]] *[[clang::annotate_type("ptr")]] array[10] [[clang::annotate_t… in foo() 13 typedef int [[clang::annotate_type("bar")]] my_typedef; in foo() 23 …int *[[clang::annotate_type(1)]] z3; // expected-error {{'annotate_type' attribute requires a stri… in foo() 29 int *[[clang::annotate_type("bar", int)]] z9; // expected-error {{expected expression}} in foo() [all …]
|
| H A D | pragma-attribute.c | 7 #pragma clang attribute pop // expected-note {{'#pragma clang attribute push' regions ends here}} 19 #pragma clang attribute push (__attribute__((annotate("hello", "world"))), apply_to = function) 23 #pragma clang attribute pop 24 #pragma clang attribute pop 25 #pragma clang attribute pop 39 #pragma clang attribute pop 46 #pragma clang attribute pop 50 #pragma clang attribute push 57 #pragma clang attribute pop 59 #pragma clang attribute pop [all …]
|
| /llvm-project-15.0.7/utils/bazel/llvm-project-overlay/clang/ |
| H A D | BUILD.bazel | 16 "tools/clang-format/clang-format.el", 17 "tools/clang-format/clang-format-test.el", 18 "tools/clang-format/clang-format.py", 19 "tools/clang-rename/clang-rename.el", 20 "tools/extra/clang-include-fixer/tool/clang-include-fixer.el", 21 "tools/extra/clang-include-fixer/tool/clang-include-fixer-test.el", 25 name = "clang-tblgen", 45 "-gen-clang-diags-defs -clang-component=%s" % c, 2003 name = "clang", 2046 name = "clang++", [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTUtils.h | 53 clang::CXXBaseSpecifier * 124 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType() 126 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType() 281 clang::Selector Sel; in GetExternalSelector() 407 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType() 409 llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> in layoutRecordType() 454 llvm::MapVector<clang::NamedDecl *, clang::SourceLocation> &Undefined) in ReadUndefinedButUsed() 468 bool LookupUnqualified(clang::LookupResult &R, clang::Scope *S) override { in LookupUnqualified() 530 std::pair<clang::ValueDecl *, clang::SourceLocation>> &Pending) in ReadPendingInstantiations() 544 clang::TypoCorrection [all …]
|
| H A D | ClangASTImporter.h | 68 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 D | ClangASTSource.h | 55 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 D | ASTResultSynthesizer.h | 15 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 …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-placement.cpp | 10 int [[clang::address_space(1)]] * local3; in f() 22 for (; int [[clang::address_space(1)]] * p = nullptr; ) {} in f() 23 while(int [[clang::address_space(1)]] * p = nullptr) {} in f() 24 if (int [[clang::address_space(1)]] * p = nullptr) {} in f() 26 } catch(int [[clang::address_space(1)]] & i) { in f() 31 int [[clang::address_space(1)]] * return_value(); 35 int [[clang::address_space(1)]] global3; 36 int [[clang::address_space(1)]] global4; 40 int [[clang::address_space(1)]] * member_function_2(); 46 T [[clang::address_space(1)]] var_template_2; [all …]
|
| H A D | attr-musttail.cpp | 8 [[clang::musttail]] return ReturnsInt1(); in Func1() 19 [[clang::musttail]] // expected-note {{tail call required by 'musttail' attribute here}} in TestParamArityMismatch() 25 [[clang::musttail]] // expected-note {{tail call required by 'musttail' attribute here}} in TestParamTypeMismatch() 31 [[clang::musttail]] // expected-note {{tail call required by 'musttail' attribute here}} in TestReturnTypeMismatch() 47 [[clang::musttail]] // expected-note {{tail call required by 'musttail' attribute here}} in TestMemberToNonMember() 96 [[clang::musttail]] return ReturnsVoid2(); in TestNestedClass() 106 [[clang::musttail]] return TemplateFunc<int>(x); in OkTemplateFunc() 167 [[clang::musttail]] return lambda_fptr(); in TestNonCapturingLambda() 168 [[clang::musttail]] return (+lambda)(); in TestNonCapturingLambda() 185 [[clang::musttail]] // expected-note {{tail call required by 'musttail' attribute here}} in ~TestDestructor() [all …]
|
| H A D | annotate-type.cpp | 4 void f() [[clang::annotate_type("foo")]]; 5 …[[clang::annotate_type("foo")]] void g(); // expected-error {{'annotate_type' attribute cannot be … 16 static_assert(is_same<int, int [[clang::annotate_type("foo")]]>::value); 17 static_assert(is_same<int [[clang::annotate_type("foo")]], 18 int [[clang::annotate_type("bar")]]>::value); 19 static_assert(is_same<int *, int *[[clang::annotate_type("foo")]]>::value); 23 void f(int [[clang::annotate_type("foo")]]) {} // expected-error {{redefinition of 'f'}} in f() 31 struct S2<int [[clang::annotate_type("foo")]]> {}; // expected-error {{redefinition of 'S2<int>'}} 35 int [[clang::annotate_type("foo", Is...)]] val; in variadic_func_template() 43 …func_template<int [[clang::annotate_type()]]>(); // expected-error {{'annotate_type' attribute tak… in f3() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 20 namespace clang { 64 clang::FunctionDecl * 76 bool CompleteTagDecl(clang::TagDecl &tag); 77 bool CompleteType(clang::QualType qt); 85 TypeSystemClang &clang() { return m_clang; } in clang() function 91 clang::Decl *TryGetDecl(PdbSymUid uid) const; 95 clang::QualType 97 clang::QualType 104 clang::QualType 116 clang::DeclContext * [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/ |
| H A D | BUILD.gn | 6 "//clang-tools-extra/clang-tidy", 7 "//clang-tools-extra/clang-tidy/android", 8 "//clang-tools-extra/clang-tidy/google", 9 "//clang-tools-extra/clang-tidy/llvm", 10 "//clang-tools-extra/clang-tidy/modernize", 11 "//clang-tools-extra/clang-tidy/objc", 12 "//clang-tools-extra/clang-tidy/readability", 13 "//clang-tools-extra/clang-tidy/utils", 14 "//clang/lib/AST", 18 "//clang/lib/Lex", [all …]
|
| /llvm-project-15.0.7/clang/test/FixIt/ |
| H A D | fixit-pragma-attribute.cpp | 3 #pragma clang attribute push (annotate) 6 #pragma clang attribute push (annotate(("test"))) 22 #pragma clang attribute pop 27 #pragma clang attribute pop 31 #pragma clang attribute pop 35 #pragma clang attribute pop 39 #pragma clang attribute pop 41 #pragma clang attribute push (__attribute__((abi_tag("a")))) 50 #pragma clang attribute push (__attribute__((abi_tag("a"))) 22) 57 #pragma clang attribute push (__attribute__((abi_tag("a"))), ) [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | BUILD.gn | 5 "//clang-tools-extra/clang-tidy", 6 "//clang-tools-extra/clang-tidy/bugprone", 7 "//clang-tools-extra/clang-tidy/cppcoreguidelines", 8 "//clang-tools-extra/clang-tidy/google", 9 "//clang-tools-extra/clang-tidy/misc", 10 "//clang-tools-extra/clang-tidy/modernize", 11 "//clang-tools-extra/clang-tidy/performance", 12 "//clang-tools-extra/clang-tidy/readability", 13 "//clang-tools-extra/clang-tidy/utils", 14 "//clang/lib/AST", [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/ |
| H A D | BUILD.gn | 12 td_file = "//clang/include/clang/Basic/Attr.td" 21 "//clang/include/clang/AST:AttrImpl", 22 "//clang/include/clang/AST:AttrNodeTraverse", 23 "//clang/include/clang/AST:AttrTextNodeDump", 26 "//clang/include/clang/AST:CommentHTMLTags", 28 "//clang/include/clang/AST:DeclNodes", 43 "//clang/include/clang/AST:AttrVisitor", 44 "//clang/include/clang/AST:Attrs", 46 "//clang/include/clang/AST:CommentNodes", 47 "//clang/include/clang/AST:StmtNodes", [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/test/ |
| H A D | BUILD.gn | 1 import("//clang-tools-extra/clang-tidy/enable.gni") 68 # prerequisites for check-clang but doesn't run check-clang itself. 73 "//clang-tools-extra/clang-apply-replacements/tool:clang-apply-replacements", 74 "//clang-tools-extra/clang-change-namespace/tool:clang-change-namespace", 75 "//clang-tools-extra/clang-doc/tool:clang-doc", 77 "//clang-tools-extra/clang-include-fixer/tool:clang-include-fixer", 78 "//clang-tools-extra/clang-move/tool:clang-move", 79 "//clang-tools-extra/clang-query/tool:clang-query", 80 "//clang-tools-extra/clang-reorder-fields/tool:clang-reorder-fields", 81 "//clang-tools-extra/clang-tidy/tool:clang-tidy", [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Sema/ |
| H A D | BUILD.gn | 12 "//clang/include/clang/Basic:arm_cde_builtin_aliases", 13 "//clang/include/clang/Basic:arm_cde_builtin_sema", 14 "//clang/include/clang/Basic:arm_mve_builtin_aliases", 15 "//clang/include/clang/Basic:arm_mve_builtin_sema", 16 "//clang/include/clang/Basic:arm_sve_sema_rangechecks", 17 "//clang/include/clang/Basic:riscv_vector_builtin_sema", 18 "//clang/include/clang/Sema:AttrParsedAttrImpl", 19 "//clang/include/clang/Sema:AttrParsedAttrKinds", 20 "//clang/include/clang/Sema:AttrParsedAttrList", 21 "//clang/include/clang/Sema:AttrSpellingListIndex", [all …]
|
| /llvm-project-15.0.7/flang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 174 case clang::driver::options::OPT_test_io: in parseFrontendArgs() 177 case clang::driver::options::OPT_E: in parseFrontendArgs() 183 case clang::driver::options::OPT_emit_mlir: in parseFrontendArgs() 192 case clang::driver::options::OPT_emit_obj: in parseFrontendArgs() 195 case clang::driver::options::OPT_S: in parseFrontendArgs() 446 clang::driver::options::OPT_D, clang::driver::options::OPT_U)) { in parsePreprocessorArgs() 466 clang::driver::options::OPT_cpp, clang::driver::options::OPT_nocpp)) in parsePreprocessorArgs() 479 clang::DiagnosticsEngine &diags) { in parseSemaArgs() 518 clang::DiagnosticsEngine &diags) { in parseDiagArgs() 546 clang::DiagnosticsEngine &diags) { in parseDialectArgs() [all …]
|