Home
last modified time | relevance | path

Searched refs:Clang (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/external/clang/tools/driver/
Dcc1_main.cpp68 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in cc1_main() local
72 auto PCHOps = Clang->getPCHContainerOperations(); in cc1_main()
93 Clang->getInvocation(), Argv.begin(), Argv.end(), Diags); in cc1_main()
96 if (Clang->getHeaderSearchOpts().UseBuiltinIncludes && in cc1_main()
97 Clang->getHeaderSearchOpts().ResourceDir.empty()) in cc1_main()
98 Clang->getHeaderSearchOpts().ResourceDir = in cc1_main()
102 Clang->createDiagnostics(); in cc1_main()
103 if (!Clang->hasDiagnostics()) in cc1_main()
109 static_cast<void*>(&Clang->getDiagnostics())); in cc1_main()
111 DiagsBuffer->FlushDiagnostics(Clang->getDiagnostics()); in cc1_main()
[all …]
/external/clang/lib/Frontend/
DChainedIncludesSource.cpp150 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource() local
152 Clang->setInvocation(CInvok.release()); in createChainedIncludesSource()
153 Clang->setDiagnostics(Diags.get()); in createChainedIncludesSource()
154 Clang->setTarget(TargetInfo::CreateTargetInfo( in createChainedIncludesSource()
155 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
156 Clang->createFileManager(); in createChainedIncludesSource()
157 Clang->createSourceManager(Clang->getFileManager()); in createChainedIncludesSource()
158 Clang->createPreprocessor(TU_Prefix); in createChainedIncludesSource()
159 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(), in createChainedIncludesSource()
160 &Clang->getPreprocessor()); in createChainedIncludesSource()
[all …]
DASTUnit.cpp1042 std::unique_ptr<CompilerInstance> Clang( in Parse() local
1047 CICleanup(Clang.get()); in Parse()
1052 Clang->setInvocation(CCInvocation.get()); in Parse()
1053 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in Parse()
1057 Clang->setDiagnostics(&getDiagnostics()); in Parse()
1060 Clang->setTarget(TargetInfo::CreateTargetInfo( in Parse()
1061 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse()
1062 if (!Clang->hasTarget()) in Parse()
1069 Clang->getTarget().adjust(Clang->getLangOpts()); in Parse()
1071 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse()
[all …]
/external/clang/docs/
DReleaseNotes.rst2 Clang 3.9 (In-Progress) Release Notes
13 These are in-progress notes for the upcoming Clang 3.9 release. You may
14 prefer the `Clang 3.8 Release Notes
20 This document contains the release notes for the Clang C/C++/Objective-C
22 describe the status of Clang in some detail, including major
29 For more information about Clang or LLVM, including information about
30 the latest release, please check out the main please see the `Clang Web
35 main Clang web page, this document applies to the *next* release, not
39 What's New in Clang 3.9?
42 Some of the major new features and improvements to Clang are listed
[all …]
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:
30 Clang Tools within the project as well as giving an introduction to some
32 document is currently focused on Clang and Clang Tool developers, not on
35 Clang Tools Organization
38 Clang Tools are CLI or GUI programs that are intended to be directly
[all …]
DTooling.rst5 Clang provides infrastructure to write tools that need syntactic and semantic
20 * Clang Python Bindings
27 cursor, and don't want to learn all the nitty gritty details of Clang's AST.
31 * want full control over the Clang AST
33 Clang Plugins
36 :doc:`Clang Plugins <ClangPlugins>` allow you to run additional actions on the
41 Canonical examples of when to use Clang Plugins:
46 Use Clang Plugins when you...:
50 * need full control over the Clang AST
52 Do not use Clang Plugins when you...:
[all …]
DExternalClangExamples.rst2 External Clang Examples
9 done with Clang that might serve as useful guides (or starting points) from
11 banal (but necessary) as how to set up your build to integrate Clang.
13 Clang's library-based design is deliberately aimed at facilitating use by
14 external projects, and we are always interested in improving Clang to
16 where Clang is used are:
21 If you know of (or wrote!) a tool or project using Clang, please send an
22 email to Clang's `development discussion mailing list
24 (or if you are already a Clang contributor, feel free to directly commit
40 "qconnectlint is a Clang tool for statically verifying the consistency
[all …]
DMSVCCompatibility.rst17 When Clang compiles C++ code for Windows, it attempts to be compatible with
20 First, Clang attempts to be ABI-compatible, meaning that Clang-compiled code
22 ABIs are particularly large and complicated, and Clang's support for MSVC's C++
27 Second, Clang implements many MSVC language extensions, such as
31 Third, MSVC accepts some C++ code that Clang will typically diagnose as
33 Clang attempts to recover and continue compiling the user's program. Most
68 base class`_. Clang does not yet support this.
75 * Debug info: :partial:`Minimal`. Clang emits both CodeView line tables
79 enabling stack traces in all modern Windows debuggers. Clang does not emit
110 * Lambdas: :good:`Mostly complete`. Clang is compatible with Microsoft's
[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
35 A good way to familarize yourself with the Clang AST is to actually look
36 at it on some simple example code. Clang has a builtin AST-dump mode,
49 # Clang by default is a frontend for many tools; -Xclang is used to pass
88 or to access Clang's `table of
[all …]
Dindex.rst1 .. Clang documentation master file, created by
6 .. title:: Welcome to Clang's documentation!
13 Using Clang as a Compiler
42 Using Clang as a Library
60 Using Clang Tools
DPTHInternals.rst13 The Clang compiler frontend, ``clang -cc1``, supports three command line
30 Alternatively, Clang's PTH files can be used as a raw "token-cache" (or
55 preprocessor state of a header file, Clang's pretokenized header files
66 implementation for Clang that also caches the work for parsing and type
68 in Clang as pretokenized header files was motivated by the following
73 Clang's lexer can handle, including C, Objective-C, and (in the early
81 machinery for PTH resides at the lower-levels of the Clang library
85 precompiled header file implementation that Clang can be directly
86 compared against) the PTH design in Clang yields several attractive
91 those of several other compilers), Clang's PTH files are architecture
[all …]
/external/clang/
DINSTALL.txt2 // Clang Installation Instructions
5 These instructions describe how to build and install Clang.
11 Clang is designed to be built as part of an LLVM build. Assuming that the LLVM
27 Assuming you installed clang at $LLVM_SRC_ROOT/tools/clang then Clang will
28 automatically be built with LLVM. Otherwise, run 'make' in the Clang source
29 directory to build Clang.
35 It is a good idea to run the Clang tests to make sure your build works
36 correctly. From inside the Clang build directory, run 'make test' to run the
40 // Step 4: Install Clang
43 From inside the Clang build directory, run 'make install' to install the Clang
[all …]
DREADME.txt5 Welcome to Clang. This is a compiler front-end for the C family of languages
9 Unlike many other compiler frontends, Clang is useful for a number of things
10 beyond just compiling code: we intend for Clang to be host to a number of
11 different source-level tools. One example of this is the Clang Static Analyzer.
13 If you're interested in more (including how to build Clang) it is best to read
16 Information on Clang: http://clang.llvm.org/
17 Building and using Clang: http://clang.llvm.org/get_started.html
18 Clang Static Analyzer: http://clang-analyzer.llvm.org/
21 If you have questions or comments about Clang, a great place to discuss them is
22 on the Clang development mailing list:
[all …]
DCODE_OWNERS.TXT2 particular part of Clang are reviewed, either by themself or by someone else.
3 They are also the gatekeepers for their part of Clang, with the final word on
13 D: Clang attributes
46 D: Clang Static Analyzer
50 D: Clang LLVM IR generation
54 D: All parts of Clang not covered by someone else
DReadmeAndroid.md1 Android Clang/LLVM
4 This document is deprecated. Please visit: [Android Clang/LLVM Toolchain
6 for the latest instructions on building the Clang/LLVM Toolchain for Android.
/external/clang/tools/scan-build/libexec/
Dccc-analyzer67 my $Clang;
93 $Clang = $ENV{'CLANG_CXX'};
94 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
102 $Clang = $ENV{'CLANG'};
103 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
149 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
169 system $Clang, @$Args, "-E", "-o", $PPFile;
192 my $OutputStream = silent_system($HtmlDir, $Clang, "-###", $mode, @$Args);
207 my ($Clang, $OriginalArgs, $AnalyzeArgs, $Lang, $Output, $Verbose, $HtmlDir,
225 $Cmd = $Clang;
[all …]
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp171 bool clang::ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
173 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
184 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
191 e = Clang->getFrontendOpts().Plugins.size(); i != e; ++i) { in ExecuteCompilerInvocation()
192 const std::string &Path = Clang->getFrontendOpts().Plugins[i]; in ExecuteCompilerInvocation()
195 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
205 Clang->getFrontendOpts().ProgramAction = clang::frontend::PluginAction; in ExecuteCompilerInvocation()
206 Clang->getFrontendOpts().ActionName = it->getName(); in ExecuteCompilerInvocation()
215 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
216 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
[all …]
/external/clang/examples/clang-interpreter/
Dmain.cpp147 CompilerInstance Clang; in main() local
148 Clang.setInvocation(CI.release()); in main()
151 Clang.createDiagnostics(); in main()
152 if (!Clang.hasDiagnostics()) in main()
156 if (Clang.getHeaderSearchOpts().UseBuiltinIncludes && in main()
157 Clang.getHeaderSearchOpts().ResourceDir.empty()) in main()
158 Clang.getHeaderSearchOpts().ResourceDir = in main()
163 if (!Clang.ExecuteAction(*Act)) in main()
DREADME.txt1 This is an example of Clang based interpreter, for executing standalone C
7 2. Constructing a Clang compiler instance, using the appropriate arguments
10 3. Invoking the Clang compiler to lex, parse, syntax check, and then generate
17 Clang compiler libraries.
/external/clang/test/
DCMakeLists.txt1 # Test runner infrastructure for Clang. This configures the Clang test trees
22 option(CLANG_TEST_USE_VG "Run Clang tests under Valgrind" OFF)
85 set_target_properties(clang-test-depends PROPERTIES FOLDER "Clang tests")
87 add_lit_testsuite(check-clang "Running the Clang regression tests"
94 set_target_properties(check-clang PROPERTIES FOLDER "Clang tests")
104 set_target_properties(clang-test PROPERTIES FOLDER "Clang tests")
/external/libunwind_llvm/docs/
Dindex.rst47 Any i386, x86_64, ARM Clang SjLj
48 Bare Metal ARM Clang, GCC EHABI
49 FreeBSD i386, x86_64, ARM64 Clang DWARF CFI
50 iOS ARM Clang SjLj
51 Linux ARM Clang, GCC EHABI
52 Linux i386, x86_64, ARM64 Clang, GCC DWARF CFI
53 Mac OS X i386, x86_64 Clang, GCC DWARF CFI
54 NetBSD x86_64 Clang, GCC DWARF CFI
55 Windows i386, x86_64, ARM, ARM64 Clang DWARF CFI
60 * Clang 3.5 and above
/external/clang/www/
Dmenu.html.incl7 <label>Clang Info</label>
20 <label>Clang Development</label>
24 <a href="/docs/InternalsManual.html">Clang&nbsp;Internals</a>
25 <a href="/hacking.html">Hacking on Clang</a>
29 <label>Clang Tools</label>
31 <a href="/docs/Tooling.html">Writing Clang Tools</a>
40 <a href="http://planet.clang.org/">Planet Clang</a>
58 <label>Clang Events</label>
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/modules/
DCheckCompilerVersion.cmake2 # MSVC 2015 (Update 3), or Clang 3.1.
14 elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
16 message(FATAL_ERROR "Host Clang version must be at least 3.1!")
21 message(FATAL_ERROR "Host Clang must have at least -fms-compatibility-version=19.0")
26 # with the Clang compiler. This is tricky as there is no real way to
38 message(FATAL_ERROR "Host Clang must be able to find libstdc++4.8 or newer!")
/external/llvm/cmake/modules/
DCheckCompilerVersion.cmake2 # MSVC 2013, or Clang 3.1.
14 elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
16 message(FATAL_ERROR "Host Clang version must be at least 3.1!")
21 message(FATAL_ERROR "Host Clang must have at least -fms-compatibility-version=18.0")
26 # with the Clang compiler. This is tricky as there is no real way to
38 message(FATAL_ERROR "Host Clang must be able to find libstdc++4.7 or newer!")
/external/clang/tools/scan-build/bin/
Dscan-build140 my $Clang;
1269 if (defined $Clang && -x $Clang) {
1284 …my $ExecLine = join(' ', qq/"$Clang"/, @PluginLoadCommandline_xclang, "--analyze", "-x", $lang, "-…
1303 …my $ExecLine = join(' ', qq/"$Clang"/, "-cc1", @PluginLoadCommandline, "-analyzer-checker-help", "…
1415 $Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
1416 if (!defined $Clang || ! -x $Clang) {
1417 $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang");
1419 if (!defined $Clang || ! -x $Clang) {
1432 $Clang = `$xcrun -toolchain XcodeDefault -find clang`;
1433 chomp $Clang;
[all …]

12345678910>>...23