| /external/clang/test/Preprocessor/ |
| dependencies-and-pp.c | 3 // RUN: %clang -E -o %t.1 %s 4 // RUN: %clang -E -MD -MF %t.d -MT foo -o %t.2 %s 12 // RUN: %clang -E -MD -MF %t.d -MQ foo -o %t %s 18 // RUN: %clang -E -MD -MF %t.d -MQ '$fo\ooo ooo\ ooo\\ ooo#oo' -o %t %s 24 // RUN: %clang -E -MD -MF %t.d -MT foo -MT bar -MT baz -o %t %s 31 // RUN: %clang -E -MD -MF %t.d -MT foo -MQ '$(bar)' -MT 'b az' -MQ 'qu ux' -MQ ' space' -o %t %s
|
| /external/clang/test/Tooling/ |
| clang-check-ast-dump.cpp | 1 // RUN: clang-check -ast-dump "%s" -- 2>&1 | FileCheck %s 10 // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::TheClass::theMethod "%s" -- 2>&1 | FileCheck -check-prefix CHECK-FILTER %s 20 // RUN: clang-check -ast-print "%s" -- 2>&1 | FileCheck -check-prefix CHECK-PRINT %s 25 // RUN: clang-check -ast-list "%s" -- 2>&1 | FileCheck -check-prefix CHECK-LIST %s 31 // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::TheClass::n "%s" -- 2>&1 | FileCheck -check-prefix CHECK-ATTR %s 37 // RUN: clang-check -ast-dump -ast-dump-filter test_namespace::AfterNullNode "%s" -- 2>&1 | FileCheck -check-prefix CHECK-AFTER-NULL %s
|
| /external/clang/utils/TestUtils/ |
| pch-test.pl | 3 # This tiny little script, which should be run from the clang 4 # directory (with clang in your patch), tries to take each 5 # compilable Clang test and build a PCH file from that test, then read 20 my $code = system("clang -fsyntax-only -x $language $file > /dev/null 2>&1"); 23 $code = system("clang -cc1 -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1"); 25 $code = system("clang -cc1 -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&1");
|
| /external/libcxx/test/std/thread/futures/futures.async/ |
| async.fail.cpp | 12 // UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
|
| /external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
| allocate.fail.cpp | 20 // UNSUPPORTED: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
|
| /external/libtextclassifier/util/base/ |
| macros.h | 60 // When compiled with clang in C++11 mode, the TC_FALLTHROUGH_INTENDED macro is 61 // expanded to [[clang::fallthrough]] attribute, which is analysed when 63 // See clang documentation on language extensions for details: 64 // http://clang.llvm.org/docs/AttributeReference.html#fallthrough-clang-fallthrough 73 #define TC_FALLTHROUGH_INTENDED [[clang::fallthrough]]
|
| /external/skia/infra/bots/assets/clang_linux/ |
| create.py | 9 """Create a Clang toolchain for Linux hosts.""" 24 # Build Clang, lld, compiler-rt (sanitizer support) and libc++. 30 BRANCH, REPO + "clang"]) 58 # Finally, build libc++ for MSAN bots using the Clang we just built. 63 "-DCMAKE_C_COMPILER=" + target_dir + "/bin/clang", 64 "-DCMAKE_CXX_COMPILER=" + target_dir + "/bin/clang++",
|
| /external/skqp/infra/bots/assets/clang_linux/ |
| create.py | 9 """Create a Clang toolchain for Linux hosts.""" 24 # Build Clang, lld, compiler-rt (sanitizer support) and libc++. 30 BRANCH, REPO + "clang"]) 58 # Finally, build libc++ for MSAN bots using the Clang we just built. 63 "-DCMAKE_C_COMPILER=" + target_dir + "/bin/clang", 64 "-DCMAKE_CXX_COMPILER=" + target_dir + "/bin/clang++",
|
| /external/clang/test/Driver/ |
| mips-as.c | 3 // RUN: %clang -target mips-linux-gnu -### \ 6 // RUN: %clang -target mipsel-linux-gnu -### \ 12 // RUN: %clang -target mips-linux-gnu -### \ 18 // RUN: %clang -target mipsel-linux-gnu -### \ 23 // RUN: %clang -target mips64-linux-gnu -### \ 28 // RUN: %clang -target mips64el-linux-gnu -### \ 33 // RUN: %clang -target mips64-linux-gnu -mabi=n32 -### \ 38 // RUN: %clang -target mipsel-linux-gnu -mabi=32 -### \ 41 // RUN: %clang -target mips-linux-gnu -mabi=32 -### \ 46 // RUN: %clang -target mips64el-linux-gnu -mabi=64 -### [all...] |
| netbsd.c | 1 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd \ 4 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd \ 7 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd \ 11 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd \ 14 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd7.0.0 \ 17 // RUN: %clang -no-canonical-prefixes -target x86_64--netbsd6.0.0 \ 20 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd \ 23 // RUN: %clang -no-canonical-prefixes -target aarch64--netbsd7.0.0 \ 26 // RUN: %clang -no-canonical-prefixes -target arm--netbsd-eabi \ 29 // RUN: %clang -no-canonical-prefixes -target armeb--netbsd-eabi [all...] |
| freebsd-mips-as.c | 3 // RUN: %clang -target mips-unknown-freebsd -### \ 9 // RUN: %clang -target mips-unknown-freebsd -### \ 15 // RUN: %clang -target mips-unknown-freebsd -### \ 21 // RUN: %clang -target mips-unknown-freebsd -### \ 27 // RUN: %clang -target mips-unknown-freebsd -### \ 33 // RUN: %clang -target mipsel-unknown-freebsd -### \ 38 // RUN: %clang -target mips64-unknown-freebsd -### \ 43 // RUN: %clang -target mips64el-unknown-freebsd -### \ 48 // RUN: %clang -target mips64-unknown-freebsd -mabi=n32 -### \ 53 // RUN: %clang -target mipsel-unknown-freebsd -mabi=32 -### [all...] |
| function-sections.c | 10 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 14 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 19 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 24 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 29 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 34 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 40 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 45 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 50 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ 55 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 [all...] |
| /external/v8/tools/clang/scripts/ |
| package.py | 6 """This script will check out llvm and clang, and then package the results up 90 'gs://chromium-browser-clang/%s/%s.tgz' % 100 'gs://chromium-browser-clang/%s/%s.tgz' % 114 parser = argparse.ArgumentParser(description='build and package clang') 127 pdir = 'clang-' + expected_stamp 144 print 'gs://chromium-browser-clang/%s/%s.tgz' % (platform, pdir) 146 print 'gs://chromium-browser-clang/%s/%s.tgz' % (platform, golddir) 153 Tee('Diff in llvm/tools/clang:\n', log) 154 TeeCmd(['svn', 'stat', os.path.join(LLVM_DIR, 'tools', 'clang')], 156 TeeCmd(['svn', 'diff', os.path.join(LLVM_DIR, 'tools', 'clang')], [all...] |
| /external/clang/include/clang/AST/ |
| Attr.h | 17 #include "clang/AST/AttrIterator.h" 18 #include "clang/AST/Decl.h" 19 #include "clang/AST/Expr.h" 20 #include "clang/AST/Type.h" 21 #include "clang/Basic/AttrKinds.h" 22 #include "clang/Basic/LLVM.h" 23 #include "clang/Basic/OpenMPKinds.h" 24 #include "clang/Basic/Sanitizers.h" 25 #include "clang/Basic/SourceLocation.h" 26 #include "clang/Basic/VersionTuple.h 35 namespace clang { namespace [all...] |
| /external/clang/include/clang/Basic/ |
| LangOptions.h | 11 /// \brief Defines the clang::LangOptions interface. 18 #include "clang/Basic/CommentOptions.h" 19 #include "clang/Basic/LLVM.h" 20 #include "clang/Basic/ObjCRuntime.h" 21 #include "clang/Basic/Sanitizers.h" 22 #include "clang/Basic/Visibility.h" 26 namespace clang { namespace 35 #include "clang/Basic/LangOptions.def" 43 #include "clang/Basic/LangOptions.def" 50 typedef clang::Visibility Visibility [all...] |
| /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| SValVisitor.h | 18 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h" 19 #include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h" 20 #include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h" 22 namespace clang { namespace 39 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 44 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 51 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 66 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 87 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def" 96 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def [all...] |
| /external/clang/tools/scan-build-py/libscanbuild/ |
| clang.py | 6 """ This module is responsible for the Clang executable. 8 Since Clang command line interface is so rich, but this project is using only 27 """ Capture Clang invocation. 52 if re.search(r'clang(.*): error:', line): 59 def get_active_checkers(clang, plugins): 60 """ To get the default plugins we execute Clang to print how this 71 cmd = [clang, '--analyze'] + load + ['-x', language, '-'] 82 def get_checkers(clang, plugins): 85 clang -- the compiler we are using 95 """ Parse clang -analyzer-checker-help output [all...] |
| /external/compiler-rt/cmake/Modules/ |
| CompilerRTCompile.cmake | 1 # On Windows, CMAKE_*_FLAGS are built for MSVC but we use the GCC clang.exe, 36 list(APPEND SOURCE_DEPS clang compiler-rt-headers) 57 # which are not supported by Clang. 69 # On Darwin, there are no system-wide C++ headers and the just-built clang is 72 # The just-built clang is used to build compiler-rt unit tests. Let's detect 82 " echo 'Your just-built clang cannot find C++ headers, which are needed to build and run compiler-rt tests.'" 84 " if [ -d $(dirname $(dirname $(xcrun -f clang)))/include/c++ ]" 86 " echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/include/c++ '${LLVM_BINARY_DIR}/include/'" 87 " elif [ -d $(dirname $(dirname $(xcrun -f clang)))/lib/c++ ]" 89 " echo ' cp -r' $(dirname $(dirname $(xcrun -f clang)))/lib/c++ '${LLVM_BINARY_DIR}/include/' [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
| Attr.h | 17 #include "clang/AST/AttrIterator.h" 18 #include "clang/AST/Decl.h" 19 #include "clang/AST/Expr.h" 20 #include "clang/AST/Type.h" 21 #include "clang/Basic/AttrKinds.h" 22 #include "clang/Basic/LLVM.h" 23 #include "clang/Basic/OpenMPKinds.h" 24 #include "clang/Basic/Sanitizers.h" 25 #include "clang/Basic/SourceLocation.h" 26 #include "clang/Basic/VersionTuple.h 33 namespace clang { namespace [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| SValVisitor.h | 18 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h" 19 #include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h" 20 #include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h" 22 namespace clang { namespace 39 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 44 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 51 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 66 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 87 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def" 96 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/AST/ |
| Attr.h | 17 #include "clang/AST/AttrIterator.h" 18 #include "clang/AST/Decl.h" 19 #include "clang/AST/Expr.h" 20 #include "clang/AST/Type.h" 21 #include "clang/Basic/AttrKinds.h" 22 #include "clang/Basic/LLVM.h" 23 #include "clang/Basic/OpenMPKinds.h" 24 #include "clang/Basic/Sanitizers.h" 25 #include "clang/Basic/SourceLocation.h" 26 #include "clang/Basic/VersionTuple.h 33 namespace clang { namespace [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| SValVisitor.h | 18 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h" 19 #include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h" 20 #include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h" 22 namespace clang { namespace 39 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 44 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 51 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 66 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 87 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def" 96 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/share/clang/ |
| clang-tidy-diff.py | 3 #===- clang-tidy-diff.py - ClangTidy Diff Checker ------------*- python -*--===# 16 This script reads input from a unified diff, runs clang-tidy on all changed 17 files and outputs clang-tidy warnings in changed lines only. This is useful to 18 detect clang-tidy regressions in the lines touched by a specific patch. 21 git diff -U0 HEAD^ | clang-tidy-diff.py -p1 23 clang-tidy-diff.py -fix -checks=-*,modernize-use-override 36 'Run clang-tidy against changed files, and ' 39 parser.add_argument('-clang-tidy-binary', metavar='PATH', 40 default='clang-tidy', 41 help='path to clang-tidy binary' [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/AST/ |
| Attr.h | 17 #include "clang/AST/AttrIterator.h" 18 #include "clang/AST/Decl.h" 19 #include "clang/AST/Expr.h" 20 #include "clang/AST/Type.h" 21 #include "clang/Basic/AttrKinds.h" 22 #include "clang/Basic/LLVM.h" 23 #include "clang/Basic/OpenMPKinds.h" 24 #include "clang/Basic/Sanitizers.h" 25 #include "clang/Basic/SourceLocation.h" 26 #include "clang/Basic/VersionTuple.h 33 namespace clang { namespace [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| SValVisitor.h | 18 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h" 19 #include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h" 20 #include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h" 22 namespace clang { namespace 39 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 44 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 51 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 66 #include "clang/StaticAnalyzer/Core/PathSensitive/SVals.def" 87 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def" 96 #include "clang/StaticAnalyzer/Core/PathSensitive/Symbols.def [all...] |