/minix3/external/bsd/llvm/dist/clang/test/Driver/ |
H A D | verify_pch.m | 2 // 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"
|
/minix3/external/bsd/llvm/dist/clang/test/Modules/ |
H A D | preprocess.m | 2 …dules -fmodules-cache-path=%t -I %S/Inputs -include %S/Inputs/preprocess-prefix.h -E %s | FileChec… 3 …s -fmodules-cache-path=%t -I %S/Inputs -x objective-c-header -emit-pch %S/Inputs/preprocess-prefix… 14 // CHECK-NEXT: @import diamond_left; /* clang -E: implicit import for "{{.*}}diamond_left.h" */{{$}} 16 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}} 17 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}}
|
/minix3/external/bsd/llvm/dist/clang/ |
H A D | INSTALL.txt | 12 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)
|
/minix3/external/bsd/llvm/dist/clang/test/Index/ |
H A D | complete-pch.m | 16 // 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…
|
/minix3/external/bsd/llvm/dist/clang/docs/ |
H A D | PTHInternals.rst | 10 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 …]
|
H A D | ClangPlugins.rst | 15 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 \
|
H A D | UsersManual.rst | 16 `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 …]
|
H A D | PCHInternals.rst | 12 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 …]
|
H A D | LibASTMatchersTutorial.rst | 26 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 …]
|
H A D | LanguageExtensions.rst | 47 #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 …]
|
H A D | doxygen.cfg.in | 20 PROJECT_NAME = clang 106 # path before files name in the file list and in the header files. If set 122 # the reader which header file to include in order to use a class. 123 # If left blank only the name of the header file containing the class 236 # If set to NO only classes defined in header files are included. 586 # will generate a verbatim copy of the header file for each class for 607 # In case all classes in a project start with a common prefix, all 608 # classes will be put under the same header in the alphabetical index. 612 IGNORE_PREFIX = clang:: 635 # The HTML_HEADER tag can be used to specify a personal HTML header for [all …]
|
/minix3/external/bsd/llvm/dist/llvm/test/Linker/ |
H A D | type-unique-simple-a.ll | 4 ; RUN: cat %t | FileCheck %s -check-prefix=LINK 25 ; Content of header files: 71 !0 = !{!"0x11\004\00clang version 3.4 (http://llvm.org/git/clang.git c23b1db6268c8e7ce64026d57d1510…
|
/minix3/external/bsd/llvm/dist/llvm/test/DebugInfo/X86/ |
H A D | dwarf-public-names.ll | 2 ; 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=DARWIN %s 42 ; Skip the output to the header of the pubnames section. 97 !0 = !{!"0x11\004\00clang version 3.3 (http://llvm.org/git/clang.git a09cd8103a6a719cb2628cdf0c9168…
|
/minix3/external/bsd/llvm/config/llvm/Config/ |
H A D | config.h.in | 19 /* Directories clang will search for headers */ 20 #define C_INCLUDE_DIRS "/usr/include/clang-3.6:/usr/include" 46 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 52 /* Define to 1 if you have the <cxxabi.h> header file. */ 71 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 75 /* Define to 1 if you have the <dlfcn.h> header file. */ 84 /* Define to 1 if you have the <errno.h> header file. */ 87 /* Define to 1 if you have the <execinfo.h> header file. */ 96 /* Define to 1 if you have the <fcntl.h> header file. */ 99 /* Define to 1 if you have the <fenv.h> header file. */ [all …]
|
/minix3/external/bsd/llvm/dist/llvm/ |
H A D | Makefile.config.in | 63 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. 385 # Location of the plugin header file for gold.
|
H A D | configure | 826 prefix=NONE 945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1039 ac_prev=prefix ;; 1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1041 prefix=$ac_optarg ;; 1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1201 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ [all …]
|
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Config/ |
H A D | config.h.in | 18 /* Directories clang will search for headers */ 45 /* Define to 1 if you have the <CrashReporterClient.h> header file. */ 51 /* Define to 1 if you have the <cxxabi.h> header file. */ 70 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 74 /* Define to 1 if you have the <dlfcn.h> header file. */ 83 /* Define to 1 if you have the <errno.h> header file. */ 86 /* Define to 1 if you have the <execinfo.h> header file. */ 95 /* Define to 1 if you have the <fcntl.h> header file. */ 98 /* Define to 1 if you have the <fenv.h> header file. */ 104 /* Define to 1 if you have the <ffi/ffi.h> header file. */ [all …]
|
/minix3/external/bsd/llvm/dist/llvm/docs/ |
H A D | GettingStarted.rst | 15 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`` 72 * ``--prefix=directory`` --- Specify for *directory* the full pathname of 275 causes Clang to refuse to compile condition_variable header file. At the time 323 % $PWD/../gcc-4.8.2/configure --prefix=$HOME/toolchains --enable-languages=c,c++ 355 or install Clang into the same prefix (``$HOME/toolchains`` above) as GCC. 356 Clang will look within its own prefix for libstdc++ and use it if found. You 357 can also add an explicit prefix for Clang to look in for a GCC toolchain with [all …]
|
H A D | CodingStandards.rst | 93 * Clang: http://clang.llvm.org/cxx_status.html 174 traits header to emulate it. 218 Every source file should have a header on it that describes the basic purpose of 219 the file. If a file does not have a header, it should not be checked into the 220 tree. The standard header looks like this: 291 #. When writing a header file that may be ``#include``\d by a C source file. 302 Use the ``\file`` command to turn the standard file header into a file-level 350 Don't duplicate the documentation comment in the header file and in the 352 header file. Documentation comments for private APIs can go to the 428 Immediately after the `header file comment`_ (and include guards if working on a [all …]
|
H A D | CMake.rst | 259 Arguments given to lit. ``make check`` and ``make clang-test`` are affected. 276 ``tools/{clang,lld,polly}``. ``{Clang,lld,Polly}`` will not be built when it 363 source tree that uses sphinx (e.g. ``docs-llvm-html``, ``docs-clang-html`` 424 # E.g. if using the C++ header files 451 ``<INSTALL_PREFIX>`` is the install prefix of an installed version of LLVM. 458 If LLVM is installed in your operating system's normal installation prefix (e.g. 486 A list of include paths to directories containing LLVM header files.
|
H A D | SourceLevelDebugging.rst | 190 null-separated ``mdstring``. The first field of the header is always an 194 For clarity of definition in this document, these header fields are described 624 prefix-notated DWARF expressions. Currently the only supported 734 metadata !"clang version 3.4 (trunk 193128) (llvm/trunk 193139)", 755 !9 = metadata !{metadata !"clang version 3.4 (trunk 193128) (llvm/trunk 193139)"} 903 ; metadata !"clang version 3.6.0 ", ;; Producer 910 metadata !"0x11\0012\00clang version 3.6.0 \000\00\000\00\001", 1257 clang. 1288 uses clang for its expression parsing where LLDB acts as a PCH. LLDB is then 1291 tables. Since clang asks a lot of questions when it is parsing an expression, [all …]
|
/minix3/external/bsd/llvm/dist/llvm/autoconf/ |
H A D | configure.ac | 21 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, 533 clang) 625 dnl --enable-clang-arcmt: check whether to enable clang arcmt 627 AC_ARG_ENABLE(clang-arcmt, 628 AS_HELP_STRING([--enable-clang-arcmt], [all …]
|
/minix3/external/bsd/llvm/dist/clang/include/clang/Driver/ |
H A D | Options.td | 1 //===--- 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 …]
|
/minix3/external/bsd/libevent/dist/ |
H A D | configure.ac | 18 dnl Initialize prefix. 19 if test "$prefix" = "NONE"; then 20 prefix="/usr/local" 191 dnl Checks for header files. 716 # These warnings break gcc 4.0.2 and clang, but work on gcc 4.2 730 # clang on macosx emits warnigns for each directory specified which
|
H A D | configure.in | 18 dnl Initialize prefix. 19 if test "$prefix" = "NONE"; then 20 prefix="/usr/local" 186 dnl Checks for header files. 710 # These warnings break gcc 4.0.2 and clang, but work on gcc 4.2
|