Home
last modified time | relevance | path

Searched full:clang (Results 1 – 25 of 9136) sorted by relevance

12345678910>>...366

/llvm-project/clang/include/
H A Dmodule.modulemap2 umbrella "clang-c"
8 umbrella "clang/Analysis"
10 textual header "clang/Analysis/Analyses/ThreadSafetyOps.def"
15 // library into clang. Due to inline key functions in the headers,
17 // matchers (and thus the AST), which clang-format should not have.
18 exclude header "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
23 umbrella "clang/AST"
25 textual header "clang/AST/BuiltinTypes.def"
26 textual header "clang/AST/CXXRecordDeclDefinitionBits.def"
27 textual header "clang/AS
[all...]
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/
H A DBUILD.gn1 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
5 config("clang-tidy-config_Config") {
6 visibility = [ ":clang-tidy-config" ]
10 write_cmake_config("clang-tidy-config") {
11 input = "clang-tidy-config.h.cmake"
12 output = "$target_gen_dir/clang-tidy-config.h"
22 public_configs = [ ":clang-tidy-config_Config" ]
25 static_library("clang-tidy") {
29 ":clang-tidy-config",
30 "//clang/include/clang/StaticAnalyzer/Checkers",
[all …]
/llvm-project/utils/bazel/llvm-project-overlay/clang/unittests/
H A DBUILD.bazel23 "//clang:ast",
24 "//clang:ast_matchers",
25 "//clang:basic",
26 "//clang:frontend",
27 "//clang:lex",
28 "//clang:testing",
29 "//clang:tooling",
49 "//clang:ast_matchers",
50 "//clang:frontend",
51 "//clang
[all...]
/llvm-project/utils/bazel/llvm-project-overlay/clang/
H A DBUILD.bazel27 name = "clang-tblgen",
62 "-gen-clang-diags-defs -clang-component=%s" % c,
63 "include/clang/Basic/Diagnostic%sKinds.inc" % c,
66 "-gen-clang-diags-enums -clang-component=%s" % c,
67 "include/clang/Basic/Diagnostic%sEnums.inc" % c,
71 "-gen-clang-diag-groups",
72 "include/clang/Basic/DiagnosticGroups.inc",
75 "-gen-clang
[all...]
/llvm-project/clang/test/Parser/
H A Dpragma-attribute.cpp1 // RUN: %clang_cc1 -Wno-pragma-clang-attribute -verify -std=c++11 %s
3 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = function)
7 #pragma clang attribute pop
9 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(is_parameter), function))
10 #pragma clang attribute pop
12 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = variable(unless(is_parameter)))
13 #pragma clang attribute pop
15 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = any(variable(unless(is_parameter))))
16 #pragma clang attribute pop
18 #pragma clang attribut
[all...]
H A Dpragma-loop.cpp8 #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()
65 …/* expected-error {{use of undeclared identifier 'Int'}} */ #pragma clang loop vectorize_width(V) … in test_nontype_template_badarg()
[all …]
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp11 #include "clang/AST/DeclBase.h"
12 #include "clang/AST/ExprCXX.h"
22 #include "clang/AST/ASTContext.h"
23 #include "clang/AST/ASTImporter.h"
24 #include "clang/AST/Attr.h"
25 #include "clang/AST/CXXInheritance.h"
26 #include "clang/AST/DeclObjC.h"
27 #include "clang/AST/DeclTemplate.h"
28 #include "clang/AST/Mangle.h"
29 #include "clang/AS
[all...]
H A DTypeSystemClang.h23 #include "clang/AST/ASTContext.h"
24 #include "clang/AST/ASTFwd.h"
25 #include "clang/AST/Decl.h"
26 #include "clang/AST/TemplateBase.h"
27 #include "clang/AST/Type.h"
28 #include "clang/Basic/TargetInfo.h"
32 #include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
33 #include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h"
46 namespace clang {
50 } // namespace clang
[all...]
/llvm-project/libcxxabi/test/
H A Dtest_demangle.pass.cpp37 // clang-format off
655 // clang
685 {"_ZNK5clang17DiagnosticBuilder9AddStringEN4llvm9StringRefE", "clang::DiagnosticBuilder::AddString(llvm::StringRef) const"},
686 {"_ZNK4llvm18IntrusiveRefCntPtrIN5clang10DiagnosticEE6getPtrEv", "llvm::IntrusiveRefCntPtr<clang::Diagnostic>::getPtr() const"},
687 {"_ZN5clang16DiagnosticClient15BeginSourceFileERKNS_11LangOptionsEPKNS_12PreprocessorE", "clang::DiagnosticClient::BeginSourceFile(clang::LangOptions const&, clang::Preprocessor const*)"},
688 {"_ZN5clang16DiagnosticClient13EndSourceFileEv", "clang::DiagnosticClient::EndSourceFile()"},
689 {"_ZN5clang18CompilerInvocationD2Ev", "clang::CompilerInvocation::~CompilerInvocation()"},
690 {"_ZN5clang14CodeGenOptionsD2Ev", "clang
[all...]
/llvm-project/.github/
H A Dnew-prs-labeler.yml5 - clang/include/clang/CIR/**/*
6 - clang/lib/CIR/**/*
7 - clang/tools/cir-*/**/*
8 - clang/test/CIR/**/*
10 clang:dataflow:
11 - clang/include/clang/Analysis/FlowSensitive/**/*
12 - clang/lib/Analysis/FlowSensitive/**/*
13 - clang/unittest
[all...]
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h12 #include "clang/Basic/ASTSourceDescriptor.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"
21 namespace clang {
25 } // namespace clang
32 class ExternalASTSourceWrapper : public clang::ExternalSemaSource {
43 clang::Decl *GetExternalDecl(clang
[all...]
/llvm-project/llvm/utils/gn/secondary/clang/lib/Basic/
H A DBUILD.gn14 "CLANG",
24 "//clang/include/clang/Basic:AttrList",
25 "//clang/include/clang/Basic:AttrParsedAttrList",
26 "//clang/include/clang/Basic:AttrSubMatchRulesList",
27 "//clang/include/clang/Basic:Builtins",
28 "//clang/includ
[all...]
/llvm-project/clang/utils/TableGen/
H A DTableGen.cpp1 //===-- TableGen.cpp - Top-Level TableGen implementation for Clang --------===//
9 // This file contains the main function for Clang's TableGen.
23 using namespace clang;
124 clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes",
125 "Generate clang attribute clases"),
127 "gen-clang-attr-parser-string-switches",
130 "gen-clang-attr-subject-match-rules-parser-string-switches",
133 clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl",
134 "Generate clang attribute implementations"),
135 clEnumValN(GenClangAttrList, "gen-clang
[all...]
/llvm-project/llvm/utils/gn/secondary/clang/lib/Sema/
H A DBUILD.gn1 import("//clang/utils/TableGen/clang_tablegen.gni")
4 args = [ "-gen-clang-opencl-builtins" ]
12 "//clang/include/clang/Basic:AttrParsedAttrList",
13 "//clang/include/clang/Basic:arm_cde_builtin_aliases",
14 "//clang/include/clang/Basic:arm_cde_builtin_sema",
15 "//clang/include/clang/Basi
[all...]
/llvm-project/clang/test/Sema/
H A Dpragma-attribute-strict-subjects.c3 #pragma clang attribute push (__attribute__((annotate("test"))), apply_to = any(function, variable))
5 #pragma clang attribute pop
9 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions"))), apply_to = any(variable, variable(is_parameter), function(is_member), variable(is_global)))
13 #pragma clang attribute pop
15 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions2"))), apply_to = any(function(is_member), function))
18 #pragma clang attribute pop
20 #pragma clang attribute push (__attribute__((annotate("subRuleContradictions3"))), apply_to = any(variable, variable(unless(is_parameter))))
23 #pragma clang attribute pop
25 #pragma clang attribute push (__attribute__((annotate("negatedSubRuleContradictions1"))), apply_to = any(variable(is_parameter), variable(unless(is_parameter))))
28 #pragma clang attribut
[all...]
/llvm-project/clang/utils/ClangVisualizers/
H A Dclang.natvis11 <Type Name="clang::Type">
12 <!-- To visualize clang::Types, we need to look at TypeBits.TC to determine the actual
14 because clang::Type has no virtual members hence no RTTI).
17 "cmn": Visualization that is common to all clang::Type subclasses
18 … "poly": Visualization that is specific to the actual clang::Type subclass. The subtype-specific
23 …<DisplayString IncludeView="cmn" Condition="TypeBits.TC==clang::LocInfoType::LocInfo">LocInfoType<…
24 <DisplayString IncludeView="cmn">{(clang::Type::TypeClass)TypeBits.TC, en}Type</DisplayString>
26 …<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Builtin" IncludeView="poly">{*(clan…
27 …<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Pointer" IncludeView="poly">{*(clan…
28 …<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Paren" IncludeView="poly">{*(clang:…
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
H A Dlist.rst1 .. title:: clang-tidy - Clang-Tidy Checks
3 Clang-Tidy Checks
16 clang-analyzer/*
442 :doc:`clang-analyzer-core.BitwiseShift <clang-analyzer/core.BitwiseShift>`, `Clang Static Analyzer core.BitwiseShift <https://clang.llvm.org/docs/analyzer/checkers.html#core-bitwiseshift>`_,
443 :doc:`clang-analyzer-core.CallAndMessage <clang
[all...]
/llvm-project/clang/test/Driver/
H A Dparse-progname.c6 // RUN: ln -fs %clang %t/clang++
7 // RUN: ln -fs %clang %t/clang++3.5.0
8 // RUN: ln -fs %clang %t/clang++-3.5
9 // RUN: ln -fs %clang %t/clang++-tot
10 // RUN: ln -fs %clang %t/clang-c++
11 // RUN: ln -fs %clang %t/clang-g++
12 // RUN: ln -fs %clang %t/c++
13 // RUN: ln -fs %clang %t/foo-clang++
14 // RUN: ln -fs %clang %t/foo-clang++-3.5
15 // RUN: ln -fs %clang %t/foo-clang++3.5
[all …]
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h16 #include "Plugins/ExpressionParser/Clang/ClangASTImporter.h"
22 namespace clang {
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,
[all …]
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/test/
H A DBUILD.gn1 import("//clang-tools-extra/clang-tidy/enable.gni")
2 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
14 rebase_path(get_label_info("//clang-tools-extra", "target_out_dir")),
15 "CLANG_TOOLS_SOURCE_DIR=" + rebase_path("//clang-tools-extra"),
31 input = "//clang-tools-extra/test/lit.site.cfg.py.in"
60 input = "//clang-tools-extra/test/Unit/lit.site.cfg.py.in"
65 # This target should contain all dependencies of check-clang-tools.
67 # prerequisites for check-clang but doesn't run check-clang itsel
[all...]
/llvm-project/utils/bazel/llvm-project-overlay/clang-tools-extra/unittests/
H A DBUILD.bazel19 "clang-tidy/*.cpp",
20 "clang-tidy/*.h",
24 includes = ["clang-tidy/include"],
26 "//clang:ast",
27 "//clang:ast_matchers",
28 "//clang:basic",
29 "//clang:frontend",
30 "//clang:lex",
31 "//clang:serialization",
32 "//clang
[all...]
/llvm-project/bolt/docs/
H A DOptimizingClang.md1 # Optimizing Clang : A Practical Example of Applying BOLT
12 programs can benefit too. Clang, one of the most popular open-source C/C++ compilers,
14 As we will see, the Clang binary suffers from many instruction cache
18 In this tutorial we will first build Clang with PGO and LTO, and then will show steps on how to
19 apply BOLT optimizations to make Clang up to 15% faster. We will also analyze where
23 ## Building Clang
25 The process of getting Clang sources and performing the build is very similar to the
26 one described at http://clang.llvm.org/get_started.html. For completeness, we provide the detailed steps
27 on how to obtain and build Clang in [Bootstrapping Clang
[all...]
/llvm-project/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn1 import("//clang/utils/TableGen/clang_tablegen.gni")
5 args = [ "-gen-clang-opcodes" ]
11 args = [ "-gen-clang-attr-doc-table" ]
12 td_file = "//clang/include/clang/Basic/Attr.td"
21 "//clang/include/clang/AST:AttrImpl",
22 "//clang/include/clang/AST:AttrNodeTraverse",
23 "//clang/includ
[all...]
/llvm-project/clang/tools/clang-fuzzer/
H A DREADME.txt1 This directory contains three utilities for fuzzing Clang: clang-fuzzer,
2 clang-objc-fuzzer, and clang-proto-fuzzer. All use libFuzzer to generate inputs
3 to clang via coverage-guided mutation.
5 The three utilities differ, however, in how they structure inputs to Clang.
6 clang-fuzzer makes no attempt to generate valid C++ programs and is therefore
7 primarily useful for stressing the surface layers of Clang (i.e. lexer, parser).
9 clang-objc-fuzzer is similar but for Objective-C: it makes no attempt to
12 clang-proto-fuzzer uses a protobuf class to describe a subset of the C++
15 clang-proto-fuzzer is better at stressing deeper layers of Clang and LLVM.
20 Building clang-fuzzer
[all …]
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/
H A DBUILD.gn6 "//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/misc",
11 "//clang-tools-extra/clang-tidy/modernize",
12 "//clang-tools-extra/clang-tidy/objc",
13 "//clang-tools-extra/clang-tidy/readability",
14 "//clang-tools-extra/clang-tidy/utils",
15 "//clang/lib/AST",
[all …]

12345678910>>...366