Home
last modified time | relevance | path

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

12345678910>>...170

/external/clang/
DAndroid.bp2 name: "clang-defaults",
6 clang: true,
8 header_libs: ["clang-headers"],
17 "external/clang/include",
18 "external/clang/lib/CodeGen",
34 "clang-gen-options",
35 "clang-gen-attributes",
36 "clang-gen-checkers",
37 "clang-gen-comment-commands",
38 "clang-gen-comment-html-named-character-references",
[all …]
/external/libcxxabi/test/
Dtest_demangle.pass.cpp634 // clang
664 …{"_ZNK5clang17DiagnosticBuilder9AddStringEN4llvm9StringRefE", "clang::DiagnosticBuilder::AddString…
665 …usiveRefCntPtrIN5clang10DiagnosticEE6getPtrEv", "llvm::IntrusiveRefCntPtr<clang::Diagnostic>::getP…
666 …S_11LangOptionsEPKNS_12PreprocessorE", "clang::DiagnosticClient::BeginSourceFile(clang::LangOption…
667 {"_ZN5clang16DiagnosticClient13EndSourceFileEv", "clang::DiagnosticClient::EndSourceFile()"},
668 {"_ZN5clang18CompilerInvocationD2Ev", "clang::CompilerInvocation::~CompilerInvocation()"},
669 {"_ZN5clang14CodeGenOptionsD2Ev", "clang::CodeGenOptions::~CodeGenOptions()"},
670 …{"_ZN5clang23DependencyOutputOptionsD2Ev", "clang::DependencyOutputOptions::~DependencyOutputOptio…
671 {"_ZN5clang15FrontendOptionsD2Ev", "clang::FrontendOptions::~FrontendOptions()"},
673 {"_ZN5clang19HeaderSearchOptionsD2Ev", "clang::HeaderSearchOptions::~HeaderSearchOptions()"},
[all …]
/external/skia/infra/bots/
Djobs.json2 "Build-Mac-Clang-arm-Debug-iOS",
3 "Build-Mac-Clang-arm-Release-iOS",
4 "Build-Mac-Clang-arm64-Debug-Android",
5 "Build-Mac-Clang-arm64-Debug-iOS",
6 "Build-Mac-Clang-arm64-Release-iOS",
7 "Build-Mac-Clang-x64-Release-iOS",
8 "Build-Mac-Clang-x86_64-Debug",
9 "Build-Mac-Clang-x86_64-Debug-CommandBuffer",
10 "Build-Mac-Clang-x86_64-Release",
11 "Build-Mac-Clang-x86_64-Release-CommandBuffer",
[all …]
/external/clang/utils/
Dclang-completion-mode.el1 ;;; Clang Code-Completion minor mode, for use with C/Objective-C/C++.
5 ;; This minor mode uses Clang's command line interface for code
7 ;; and C++ source files. When enabled, Clang will provide
10 ;; space), Clang will provide the names of all structs visible from
12 ;; Clang will provide the names of all of the members of whatever
15 ;; completion based on Clang. It needs your help to make it better!
17 ;; To use the Clang code completion mode, first make sure that the
18 ;; "clang" variable below refers to the "clang" executable,
20 ;; clang-completion-mode.el somewhere in your Emacs load path. You can
33 ;; (load-library "clang-completion-mode")
[all …]
/external/clang/utils/ClangVisualizers/
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::LValueReference" IncludeView="poly"…
[all …]
/external/clang/test/Parser/
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()
64 …/* expected-error {{use of undeclared identifier 'Int'}} */ #pragma clang loop vectorize_width(V) … in test_nontype_template_badarg()
[all …]
/external/clang/test/Driver/
Dparse-progname.c5 // RUN: ln -fs %clang %T/clang++
6 // RUN: ln -fs %clang %T/clang++3.5.0
7 // RUN: ln -fs %clang %T/clang++-3.5
8 // RUN: ln -fs %clang %T/clang++-tot
9 // RUN: ln -fs %clang %T/clang-c++
10 // RUN: ln -fs %clang %T/clang-g++
11 // RUN: ln -fs %clang %T/c++
12 // RUN: ln -fs %clang %T/foo-clang++
13 // RUN: ln -fs %clang %T/foo-clang++-3.5
14 // RUN: ln -fs %clang %T/foo-clang++3.5
[all …]
Darm-cortex-cpus.c2 // RUN: %clang -target arm -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-GENERIC %s
5 // RUN: %clang -target armeb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BE-GENER…
8 // RUN: %clang -target arm -mthumb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-GE…
11 // RUN: %clang -target armeb -mthumb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-…
14 // RUN: %clang -target armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T %s
15 // RUN: %clang -target arm -march=armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T %s
18 // RUN: %clang -target armv4t -mthumb -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T-THUMB %s
19 // RUN: %clang -target arm -mthumb -march=armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4…
22 // RUN: %clang -target armv5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V5 %s
23 // RUN: %clang -target arm -march=armv5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V5 %s
[all …]
Dclang-translation.c1 // RUN: %clang -target i386-unknown-unknown -### -S -O0 -Os %s -o %t.s -fverbose-asm -funwind-table…
13 // I386: clang-translation
14 // RUN: %clang -target i386-apple-darwin9 -### -S %s -o %t.s 2>&1 | \
18 // RUN: %clang -target x86_64-apple-darwin9 -### -S %s -o %t.s 2>&1 | \
22 // RUN: %clang -target x86_64h-apple-darwin -### -S %s -o %t.s 2>&1 | \
27 // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 2>&1 | \
29 // ARMV7_DEFAULT: clang
36 // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 \
38 // ARMV7_SOFTFLOAT: clang
46 // RUN: %clang -target x86_64-apple-darwin10 -### -S %s -arch armv7 \
[all …]
Daarch64-cpus.c3 // RUN: %clang -target aarch64 -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s
4 // RUN: %clang -target aarch64 -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s
5 // RUN: %clang -target aarch64 -mlittle-endian -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s
6 // RUN: %clang -target aarch64 -mlittle-endian -mcpu=generic -### -c %s 2>&1 | FileCheck -check-pre…
7 // RUN: %clang -target aarch64_be -mlittle-endian -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC…
8 // RUN: %clang -target aarch64_be -mlittle-endian -mcpu=generic -### -c %s 2>&1 | FileCheck -check-…
11 // RUN: %clang -target arm64 -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-GENERIC %s
12 // RUN: %clang -target arm64 -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-GENERIC …
13 // RUN: %clang -target arm64 -mlittle-endian -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-GENERI…
14 // RUN: %clang -target arm64 -mlittle-endian -mcpu-generic -### -c %s 2>&1 | FileCheck -check-prefi…
[all …]
Dunknown-arg.c1 // RUN: %clang %s -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-cl…
3 …UN: %clang_cl -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-clang
5 …UN: %clang_cl -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-clang
7 …UN: %clang_cl -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-clang
14 // CHECK: error: unknown argument: '-munknown-to-clang-option'
16 // CHECK: error: unknown argument: '-funknown-to-clang-option'
17 // CL: warning: unknown argument ignored in clang-cl: '-cake-is-lie'
18 // CL: warning: unknown argument ignored in clang-cl: '-%0'
19 // CL: warning: unknown argument ignored in clang-cl: '-%d'
20 // CL: warning: unknown argument ignored in clang-cl: '-HHHH'
[all …]
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.h25 #include "clang/AST/AST.h"
26 #include "clang/AST/ASTConsumer.h"
27 #include "clang/AST/Attr.h"
28 #include "clang/AST/CXXInheritance.h"
29 #include "clang/AST/RecursiveASTVisitor.h"
30 #include "clang/AST/TypeLoc.h"
31 #include "clang/Basic/SourceManager.h"
32 #include "clang/Basic/SourceLocation.h"
43 : public clang::RecursiveASTVisitor<FindBadConstructsConsumer>,
46 FindBadConstructsConsumer(clang::CompilerInstance& instance,
[all …]
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp10 #include "clang/AST/ASTContext.h"
11 #include "clang/AST/ParentMap.h"
12 #include "clang/AST/RecursiveASTVisitor.h"
13 #include "clang/ASTMatchers/ASTMatchFinder.h"
14 #include "clang/ASTMatchers/ASTMatchers.h"
15 #include "clang/ASTMatchers/ASTMatchersMacros.h"
16 #include "clang/Basic/CharInfo.h"
17 #include "clang/Basic/SourceManager.h"
18 #include "clang/Frontend/FrontendActions.h"
19 #include "clang/Lex/Lexer.h"
[all …]
/external/clang/utils/check_cfc/
Dtest_check_cfc.py14 self.assertIn('-g', check_cfc.flip_dash_g(['clang', '-c']))
15 self.assertNotIn('-g', check_cfc.flip_dash_g(['clang', '-c', '-g']))
17 '-g', check_cfc.flip_dash_g(['clang', '-g', '-c', '-g']))
53 check_cfc.is_output_specified(['clang', '-o', 'test.o']))
54 self.assertTrue(check_cfc.is_output_specified(['clang', '-otest.o']))
56 check_cfc.is_output_specified(['clang', '-gline-tables-only']))
58 self.assertFalse(check_cfc.is_output_specified(['clang', 'test.c']))
62 check_cfc.get_output_file(['clang', '-o', 'test.o']), 'test.o')
64 check_cfc.get_output_file(['clang', '-otest.o']), 'test.o')
66 check_cfc.get_output_file(['clang', '-gline-tables-only']))
[all …]
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp5 // This implements a Clang tool to generate compilation information that is
6 // sufficient to recompile the code with clang. For each compilation unit, all
21 #include "clang/Basic/Diagnostic.h"
22 #include "clang/Basic/FileManager.h"
23 #include "clang/Basic/SourceManager.h"
24 #include "clang/Frontend/CompilerInstance.h"
25 #include "clang/Frontend/FrontendActions.h"
26 #include "clang/Lex/HeaderSearchOptions.h"
27 #include "clang/Lex/PPCallbacks.h"
28 #include "clang/Lex/Preprocessor.h"
[all …]
/external/clang/utils/TableGen/
DTableGen.cpp1 //===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===//
10 // This file contains the main function for Clang's TableGen.
24 using namespace clang;
63 clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes",
64 "Generate clang attribute clases"),
66 "gen-clang-attr-parser-string-switches",
68 clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl",
69 "Generate clang attribute implementations"),
70 clEnumValN(GenClangAttrList, "gen-clang-attr-list",
71 "Generate a clang attribute list"),
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp22 #include "clang/AST/ASTContext.h"
23 #include "clang/ASTMatchers/ASTMatchFinder.h"
24 #include "clang/ASTMatchers/ASTMatchers.h"
25 #include "clang/ASTMatchers/ASTMatchersMacros.h"
26 #include "clang/Basic/CharInfo.h"
27 #include "clang/Basic/SourceManager.h"
28 #include "clang/Frontend/FrontendActions.h"
29 #include "clang/Lex/Lexer.h"
30 #include "clang/Tooling/CommonOptionsParser.h"
31 #include "clang/Tooling/Refactoring.h"
[all …]
/external/v8/tools/gcmole/
Dgcmole.cc28 // This is clang plugin used by gcmole tool. See README for more details.
30 #include "clang/AST/AST.h"
31 #include "clang/AST/ASTConsumer.h"
32 #include "clang/AST/Mangle.h"
33 #include "clang/AST/RecursiveASTVisitor.h"
34 #include "clang/AST/StmtVisitor.h"
35 #include "clang/Frontend/FrontendPluginRegistry.h"
36 #include "clang/Frontend/CompilerInstance.h"
51 static bool GetMangledName(clang::MangleContext* ctx, in GetMangledName()
52 const clang::NamedDecl* decl, in GetMangledName()
[all …]
/external/clang/docs/
DClangTools.rst5 Clang Tools are standalone command line (and potentially GUI) tools
7 Clang as their compiler. These tools provide developer-oriented
12 primary Clang Subversion project. The rest of the tools are kept in a
14 don't. If you want to get access to the extra Clang Tools repository,
15 simply check it out into the tools tree of your Clang checkout and
17 LLVM/Clang checkout:
21 - ``cd llvm/tools/clang/tools``
22 - ``svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra``
26 - ``cd llvm/tools/clang/tools``
27 - ``git clone http://llvm.org/git/clang-tools-extra.git extra``
[all …]
DHowToSetupToolingForLLVM.rst2 How To Setup Clang Tooling For LLVM
5 Clang Tooling provides infrastructure to write tools that need syntactic
7 of specific tools using this infrastructure (e.g. ``clang-check``). This
8 document provides information on how to set up and use Clang Tooling for
14 Clang Tooling needs a compilation database to figure out specific build
17 invoking clang tools, you can either specify a path to a build directory
18 using a command line parameter ``-p`` or let Clang Tooling find this
20 build using CMake to use clang tools.
22 Setup Clang Tooling Using CMake and Make
37 If you want to use clang instead of GCC, you can add
[all …]
DClangFormat.rst13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used
18 $ clang-format -help
27 USAGE: clang-format [options] [<file> ...]
31 Clang-format options:
33 -assume-filename=<string> - When reading from stdin, clang-format assumes this
37 clang-format from an editor integration
41 fallback in case clang-format is invoked with
42 -style=file, but can not find the .clang-format
50 -length, clang-format will format up to the end
68 .clang-format file located in one of the parent
[all …]
DIntroductionToTheClangAST.rst2 Introduction to the Clang AST
5 This document gives a gentle introduction to the mysteries of the Clang
7 Clang, or use tools that work based on Clang's AST, like the AST
19 Clang's AST is different from ASTs produced by some other compilers in
23 Clang's AST a good fit for refactoring tools.
25 Documentation for all Clang AST nodes is available via the generated
26 `Doxygen <http://clang.llvm.org/doxygen>`_. The doxygen online
28 make a search for clang and the AST node's class name usually turn up
30 clang ParenExpr).
35 A good way to familarize yourself with the Clang AST is to actually look
[all …]
/external/clang/tools/clang-format/
Dclang-format.el1 ;;; clang-format.el --- Format code using clang-format
8 ;; This package allows to filter code through clang-format to fix its formatting.
9 ;; clang-format is a tool that formats C/C++/Obj-C code according to a set of
10 ;; style options, see <http://clang.llvm.org/docs/ClangFormatStyleOptions.html>.
11 ;; Note that clang-format 3.4 or newer is required.
13 ;; clang-format.el is available via MELPA and can be installed via
15 ;; M-x package-install clang-format
21 ;; (require 'clang-format)
25 ;; You may also want to bind `clang-format-region' to a key:
27 ;; (global-set-key [C-M-tab] 'clang-format-region)
[all …]
/external/v8/tools/clang/blink_gc_plugin/
DRecordInfo.h17 #include "clang/AST/AST.h"
18 #include "clang/AST/CXXInheritance.h"
19 #include "clang/Frontend/CompilerInstance.h"
39 BasePoint(const clang::CXXBaseSpecifier& spec, in BasePoint()
44 const clang::CXXBaseSpecifier& spec() { return spec_; } in spec()
48 const clang::CXXBaseSpecifier& spec_;
55 FieldPoint(clang::FieldDecl* field, Edge* edge) in FieldPoint()
60 clang::FieldDecl* field() { return field_; } in field()
64 clang::FieldDecl* field_;
74 typedef std::vector<std::pair<clang::CXXRecordDecl*, BasePoint>> Bases;
[all …]
DDiagnosticsReporter.h12 #include "clang/AST/AST.h"
13 #include "clang/AST/ASTConsumer.h"
14 #include "clang/Basic/Diagnostic.h"
15 #include "clang/Frontend/CompilerInstance.h"
23 explicit DiagnosticsReporter(clang::CompilerInstance&);
26 clang::DiagnosticsEngine::Level getErrorLevel() const;
31 clang::CXXMethodDecl* trace,
32 clang::CXXRecordDecl* base);
34 clang::CXXMethodDecl* trace);
41 clang::CXXMethodDecl* dtor,
[all …]

12345678910>>...170