Home
last modified time | relevance | path

Searched +refs:clang +refs:prefix +refs:header (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/test/Modules/
Dpreprocess.m2 …th=%t -I %S/Inputs -I %S/Inputs/preprocess -include %S/Inputs/preprocess-prefix.h -E %s | FileChec…
3 …t -I %S/Inputs -I %S/Inputs/preprocess -x objective-c-header -emit-pch %S/Inputs/preprocess-prefix
6 …s -I %S/Inputs/preprocess -x objective-c++ -include %S/Inputs/preprocess-prefix.h -E %s | FileChec…
7 …-I %S/Inputs -I %S/Inputs/preprocess -x objective-c++-header -emit-pch %S/Inputs/preprocess-prefix
19 // CHECK-NEXT: @import diamond_left; /* clang -E: implicit import for "{{.*}}diamond_left.h" */{{$}}
21 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}}
22 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}}
23 // CHECK: @import file; /* clang -E: implicit import for "{{.*}}file.h" */{{$}}
/external/clang/test/Driver/
Dverify_pch.m2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
7 // CHECK-NOT: "-x" "precompiled-header"
9 // RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
10 // RUN: FileCheck -check-prefix=CHECK2 %s < %t.log.2
12 // CHECK2-NOT: "-x" "precompiled-header"
/external/clang/
DINSTALL.txt12 source code is located at $LLVM_SRC_ROOT, then the clang source code should be
15 $LLVM_SRC_ROOT/tools/clang
17 The directory is not required to be called clang, but doing so will allow the
27 Assuming you installed clang at $LLVM_SRC_ROOT/tools/clang then Clang will
44 compiler and header files into the prefix directory selected when LLVM was
47 The Clang compiler is available as 'clang' and 'clang++'. It supports a gcc like command line
48 interface. See the man page for clang (installed into $prefix/share/man/man1)
/external/clang/test/Index/
Dcomplete-pch.m16 // Build the precompiled header
17 // RUN: %clang -x objective-c-header -o %t.h.pch %S/Inputs/complete-pch.h
20 // RUN: c-index-test -code-completion-at=%s:10:7 -include %t.h %s | FileCheck -check-prefix=CHECK-C…
25 // RUN: c-index-test -code-completion-at=%s:11:6 -include %t.h %s | FileCheck -check-prefix=CHECK-C…
/external/clang/docs/
DPTHInternals.rst10 Using Pretokenized Headers with ``clang`` (Low-level Interface)
13 The Clang compiler frontend, ``clang -cc1``, supports three command line
16 To generate PTH files using ``clang -cc1``, use the option ``-emit-pth``:
20 $ clang -cc1 test.h -emit-pth -o test.h.pth
22 This option is transparently used by ``clang`` when generating PTH
23 files. Similarly, PTH files can be used as prefix headers using the
28 $ clang -cc1 -include-pth test.h.pth test.c -o test.s
31 "content" cache) of the source included by the original header file.
33 for *any* source files that are used by ``clang -cc1`` to process a
40 $ clang -cc1 -emit-pth test.h -o test.h.pth
[all …]
DClangPlugins.rst15 simple clang plugin.
50 example is checked into the clang repository; please take a look at
63 Note that those options must reach clang's cc1 process. There are two
67 has the downside of not configuring the default header search paths, so
70 * Use clang as usual, but prefix all arguments to the cc1 process with
74 clang, first build the plugin, and then call clang with the plugin from the
81 $ clang++ -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS \
83 -I$BD/tools/clang/include -Itools/clang/include -I$BD/include -Iinclude \
84 tools/clang/tools/clang-check/ClangCheck.cpp -fsyntax-only \
DUsersManual.rst16 `Clang Web Site <http://clang.llvm.org>`_ or the `LLVM Web
23 `Clang Static Analyzer <http://clang-analyzer.llvm.org>`_, please see its web
47 Clang also provides an alternative driver, :ref:`clang-cl`, that is designed
245 .. option:: -fdiagnostics-format=clang/msvc/vi
253 **clang** (default)
529 Disable auto-generation of preprocessed source files during a clang crash.
563 $ clang -O2 -Rpass=inline code.cc -o code
664 by running '``clang --print-diagnostic-categories``'.
692 particularly useful when writing a header file that will be compiled by
701 #pragma clang diagnostic push
[all …]
DPCHInternals.rst12 Using Precompiled Headers with ``clang``
15 The Clang compiler frontend, ``clang -cc1``, supports two command line options
18 To generate PCH files using ``clang -cc1``, use the option :option:`-emit-pch`:
22 $ clang -cc1 test.h -emit-pch -o test.h.pch
24 This option is transparently used by ``clang`` when generating PCH files. The
27 file can then be used as a prefix header with the :option:`-include-pch`
32 $ clang -cc1 -include-pch test.h.pch test.c -o test.s
42 header (PCH file). Then, when compiling the source files in the project, we
43 load the PCH file first (as a prefix header), which acts as a stand-in for that
46 A precompiled header implementation improves performance when:
[all …]
DLibASTMatchersTutorial.rst26 mkdir ~/clang-llvm && cd ~/clang-llvm
29 git clone http://llvm.org/git/clang.git
30 cd clang/tools
31 git clone http://llvm.org/git/clang-tools-extra.git extra
39 cd ~/clang-llvm
46 cd ~/clang-llvm
58 cd ~/clang-llvm
63 ninja clang-test # Test Clang only.
70 in both the llvm and clang directories should fix any problems.
76 cd ~/clang-llvm/build
[all …]
DLanguageExtensions.rst47 #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
74 #define __has_feature(x) 0 // Compatibility with non-clang compilers.
126 #define __has_cpp_attribute(x) 0 // Compatibility with non-clang compilers.
130 #if __has_cpp_attribute(clang::fallthrough)
131 #define FALLTHROUGH [[clang::fallthrough]]
152 #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
179 #define __has_declspec_attribute(x) 0 // Compatibility with non-clang compilers.
206 #ifdef __is_identifier // Compatibility with non-clang compilers.
244 // To avoid problem with non-clang compilers not having this macro.
269 // To avoid problem with non-clang compilers not having this macro.
[all …]
/external/libvpx/libvpx/build/make/
Dconfigure.sh318 header=$1
320 var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'`
341 *c++-analyzer|*clang++|*g++*) check_cxx -Werror "$@" <<EOF
566 --prefix=*)
567 prefix="${optval}"
576 --libc|--as|--prefix|--libdir|--sdk-path)
599 prefix="${prefix:-/usr/local}"
600 prefix="${prefix%/}"
601 libdir="${libdir:-${prefix}/lib}"
603 if [ "${libdir#${prefix}}" = "${libdir}" ]; then
[all …]
/external/llvm/test/Linker/
Dtype-unique-simple-a.ll4 ; RUN: cat %t | FileCheck %s -check-prefix=LINK
25 ; Content of header files:
71 …CompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (http://llvm.org/git/clang
/external/libvpx/libvpx/
Dconfigure501 PREFIX=${prefix}
505 DIST_DIR?=\$(DESTDIR)${prefix}
552 header=$1
554 var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'`
557 case $header in
564 [ -f "${d##-I}/$header" ] && result=true && break
572 case $header-$toolchain in
578 case $header in
646 *clang*)
/external/llvm/test/DebugInfo/X86/
Ddwarf-public-names.ll2 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=LINUX %s
4 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=NOPUB %s
6 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=NOPUB %s
44 ; Skip the output to the header of the pubnames section.
99 …CompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (http://llvm.org/git/clang
/external/llvm/
DMakefile.config.in63 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$(PROJ_SRC_DIR))
66 prefix := @prefix@
67 PROJ_prefix := $(prefix)
87 prefix := $(PROJ_INSTALL_ROOT)
88 PROJ_prefix := $(prefix)
98 PROJ_internal_prefix := $(prefix)
257 # When enabled, clang will have plugin support.
260 # When ENABLE_CLANG_ARCMT is enabled, clang will have ARCMigrationTool.
263 # When ENABLE_CLANG_STATIC_ANALYZER is enabled, clang will have StaticAnalyzer.
390 # Location of the plugin header file for gold.
/external/llvm/autoconf/
Dconfigure.ac21 dnl SECTION 6: Check for header files
83 AC_PROG_CC(clang gcc)
84 AC_PROG_CXX(clang++ g++)
89 if test "$CXX" = "clang++" ; then
90 AC_MSG_CHECKING([whether clang works])
123 llvm_cv_cxx_compiler=clang,
542 clang)
634 dnl --enable-clang-arcmt: check whether to enable clang arcmt
636 AC_ARG_ENABLE(clang-arcmt,
637 AS_HELP_STRING([--enable-clang-arcmt],
[all …]
/external/llvm/docs/
DGettingStarted.rst15 contains all of the tools, libraries, and header files needed to use LLVM. It
20 The second piece is the `Clang <http://clang.llvm.org/>`_ front end. This
33 Getting Started <http://clang.llvm.org/get_started.html>`_ page might also be a
50 * ``svn co http://llvm.org/svn/llvm-project/cfe/trunk clang``
288 causes Clang to refuse to compile condition_variable header file. At the time
336 % $PWD/../gcc-4.8.2/configure --prefix=$HOME/toolchains --enable-languages=c,c++
368 or install Clang into the same prefix (``$HOME/toolchains`` above) as GCC.
369 Clang will look within its own prefix for libstdc++ and use it if found. You
370 can also add an explicit prefix for Clang to look in for a GCC toolchain with
371 the ``--gcc-toolchain=/opt/my/gcc/prefix`` flag, passing it to both compile and
[all …]
DBuildingLLVMWithAutotools.rst26 * ``--prefix=directory`` --- Specify for *directory* the full pathname of
63 | | ``configure`` will check ``PATH`` for ``clang`` and GCC C |
69 | | ``clang++`` and GCC C++ compilers (in this order). Use |
124 % SRC_ROOT/configure --prefix=/install/path [other options]
189 Installs LLVM header files, libraries, tools, and documentation in a hierarchy
190 under ``$PREFIX``, specified with ``./configure --prefix=[dir]``, which
277 <http://clang.llvm.org/docs/CrossCompilation.html>`_ for more information
DCodingStandards.rst93 * Clang: http://clang.llvm.org/cxx_status.html
184 traits header to emulate it.
228 Every source file should have a header on it that describes the basic purpose of
229 the file. If a file does not have a header, it should not be checked into the
230 tree. The standard header looks like this:
303 #. When writing a header file that may be ``#include``\d by a C source file.
314 Use the ``\file`` command to turn the standard file header into a file-level
362 Don't duplicate the documentation comment in the header file and in the
364 header file. Documentation comments for private APIs can go to the
440 Immediately after the `header file comment`_ (and include guards if working on a
[all …]
DCMake.rst84 It is possible to set a different install prefix at installation time
298 Arguments given to lit. ``make check`` and ``make clang-test`` are affected.
315 ``tools/{clang,lld,polly}``. ``{Clang,lld,Polly}`` will not be built when it
402 source tree that uses sphinx (e.g. ``docs-llvm-html``, ``docs-clang-html``
463 # E.g. if using the C++ header files
490 ``<INSTALL_PREFIX>`` is the install prefix of an installed version of LLVM.
497 If LLVM is installed in your operating system's normal installation prefix (e.g.
525 A list of include paths to directories containing LLVM header files.
/external/bison/
DChangeLog132 * NEWS: Add header line for next release.
575 * NEWS: Add header line for next release.
597 because "clang-mp-2.9 -o test -g test.c" launches "/usr/bin/dsymutil
931 * src/parse-gram.y (%pure-parser, %name-prefix): Replace with...
932 (%define api.pure, %define api.prefix)
933 * src/location.h, src/scan-gram.h: Adjust to api.prefix.
952 * NEWS: Add header line for next release.
978 NEWS: warnings with clang
979 warnings: avoid warnings from clang
999 * NEWS: Add header line for next release.
[all …]
DNEWS157 Incorrect definitions of YY_, issued by yacc.c when no parser header is
164 In order to avoid collisions, the header guards are now
166 For instance the header generated from
168 %define api.prefix "calc"
186 Warnings from clang ("equality comparison with extraneous parentheses" and
268 *** The generated header will be included (yacc.c)
270 Instead of duplicating the content of the generated header (definition of
290 The generated header now declares yydebug and yyparse. Both honor
291 --name-prefix=bar_, and yield
306 header, are removed, as they prevent the possibility of including several
[all …]
/external/clang/include/clang/Driver/
DOptions.td1 //===--- Options.td - Options for clang -----------------------------------===//
10 // This file defines the options accepted by clang.
37 // clang and clang-cl modes.
44 // CC1Option - This option should be accepted by clang -cc1.
47 // CC1AsOption - This option should be accepted by clang -cc1as.
72 def f_clang_Group : OptionGroup<"<f (clang-only) group>">, Group<CompileOnly_Group>;
76 def clang_i_Group : OptionGroup<"<clang i group>">, Group<i_Group>;
90 // Temporary groups for clang options which we know we don't support,
92 def clang_ignored_f_Group : OptionGroup<"<clang ignored f group>">,
94 def clang_ignored_m_Group : OptionGroup<"<clang ignored m group>">,
[all …]
/external/llvm/include/llvm/Config/
Dconfig.h.in18 /* Directories clang will search for headers */
42 /* Define to 1 if you have the <CrashReporterClient.h> header file. */
48 /* Define to 1 if you have the <cxxabi.h> header file. */
67 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
71 /* Define to 1 if you have the <dlfcn.h> header file. */
80 /* Define to 1 if you have the <errno.h> header file. */
83 /* Define to 1 if you have the <execinfo.h> header file. */
86 /* Define to 1 if you have the <fcntl.h> header file. */
89 /* Define to 1 if you have the <fenv.h> header file. */
95 /* Define to 1 if you have the <ffi/ffi.h> header file. */
[all …]
/external/llvm/patches/
D0002-Add-basic-Android-configuration.patch61 +// time, at which point this header is generated. Do not modify this
62 +// header directly.
106 +// time, at which point this header is generated. Do not modify this
107 +// header directly.
151 +// time, at which point this header is generated. Do not modify this
152 +// header directly.
195 +|* time, at which point this header is generated. Do not modify this *|
196 +|* header directly. *|
235 +/* Directories clang will search for headers */
256 +/* Define to 1 if you have the <argz.h> header file. */
[all …]

12