| /external/clang/lib/StaticAnalyzer/Frontend/ |
| ModelInjector.cpp | 11 #include "clang/AST/Decl.h" 12 #include "clang/Basic/IdentifierTable.h" 13 #include "clang/Frontend/ASTUnit.h" 14 #include "clang/Frontend/CompilerInstance.h" 15 #include "clang/Frontend/FrontendAction.h" 16 #include "clang/Lex/Preprocessor.h" 17 #include "clang/Serialization/ASTReader.h" 18 #include "clang/StaticAnalyzer/Frontend/FrontendActions.h" 25 using namespace clang;
|
| /external/clang/test/Driver/ |
| Ofast.c | 1 // RUN: %clang -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 2 // RUN: %clang -O2 -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 3 // RUN: %clang -fno-fast-math -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 4 // RUN: %clang -fno-strict-aliasing -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 5 // RUN: %clang -fno-vectorize -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 6 // RUN: %clang -Ofast -O2 -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-O2 %s 7 // RUN: %clang -Ofast -fno-fast-math -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-FAST-MATH %s 8 // RUN: %clang -Ofast -fno-strict-aliasing -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-STRICT-ALIASING %s 9 // RUN: %clang -Ofast -fno-vectorize -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-VECTORIZE %s
|
| fsanitize-coverage.c | 1 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-0 2 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=edge -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-0 3 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-0 7 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 8 // RUN: %clang -target x86_64-linux-gnu -fsanitize=memory -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 9 // RUN: %clang -target x86_64-linux-gnu -fsanitize=leak -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 10 // RUN: %clang -target x86_64-linux-gnu -fsanitize=undefined -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 11 // RUN: %clang -target x86_64-linux-gnu -fsanitize=bool -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 12 // RUN: %clang -target x86_64-linux-gnu -fsanitize=dataflow -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-FUNC 15 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=bb %s -### 2>&1 | FileCheck %s --c (…) [all...] |
| mglobal-merge.c | 1 // RUN: %clang -target armv7-unknown-unknown -### -fsyntax-only %s 2> %t \ 5 // RUN: %clang -target aarch64-unknown-unknown -### -fsyntax-only %s 2> %t \ 9 // RUN: %clang -target x86_64-unknown-unknown -### -fsyntax-only %s 2> %t \ 16 // RUN: %clang -target armv7-unknown-unknown -### -fsyntax-only %s 2> %t \ 20 // RUN: %clang -target aarch64-unknown-unknown -### -fsyntax-only %s 2> %t \ 24 // RUN: %clang -target x86_64-unknown-unknown -### -fsyntax-only %s 2> %t \ 31 // RUN: %clang -target armv7-unknown-unknown -### -fsyntax-only %s 2> %t 34 // RUN: %clang -target aarch64-unknown-unknown -### -fsyntax-only %s 2> %t 37 // RUN: %clang -target x86_64-unknown-unknown -### -fsyntax-only %s 2> %t
|
| systemz-features.cpp | 2 // RUN: %clang -target s390x-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-DEFAULT %s 8 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s 9 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s 13 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s 14 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s 18 // RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s 19 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s 23 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s 24 // RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s
|
| modules.m | 1 // RUN: %clang -fmodules -fno-modules -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MODULES %s 4 // RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s 7 // RUN: %clang -fbuild-session-file=doesntexist -### %s 2>&1 | FileCheck -check-prefix=NOFILE %s 11 // RUN: %clang -fbuild-session-file=%t.build-session-file -### %s 2>&1 | FileCheck -check-prefix=TIMESTAMP_ONLY %s 13 // RUN: %clang -fbuild-session-timestamp=1280703457 -### %s 2>&1 | FileCheck -check-prefix=TIMESTAMP_ONLY %s 16 // RUN: %clang -fbuild-session-file=%t.build-session-file -fbuild-session-timestamp=123 -### %s 2>&1 | FileCheck -check-prefix=CONFLICT %s 19 // RUN: %clang -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MODULES_VALIDATE_ONCE %s 23 // RUN: %clang -fbuild-session-file=%t.build-session-file -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MODULES_VALIDATE_ONCE_FILE %s 27 // RUN: %clang -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MODULES_VALIDATE_ONCE_ERR %s 30 // RUN: %clang -### %s 2>&1 | FileCheck -check-prefix=MODULES_VALIDATE_SYSTEM_HEADERS_DEFAULT % [all...] |
| thread-model.c | 1 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -mthread-model posix -v 2>&1 | FileCheck -check-prefix=CHECK-POSIX %s 2 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -mthread-model single -v 2>&1 | FileCheck -check-prefix=CHECK-SINGLE %s 3 // RUN: not %clang -target arm-unknown-linux-gnu -c %s -mthread-model silly -v 2>&1 | FileCheck -check-prefix=CHECK-INVALID %s 8 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -v 2>&1 | FileCheck -check-prefix=CHECK-LINUX-POSIX %s 9 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -v -mthread-model single 2>&1 | FileCheck -check-prefix=CHECK-LINUX-SINGLE %s 10 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -v -mthread-model silly 2>&1 | FileCheck -check-prefix=CHECK-LINUX-INVALID %s 17 // RUN: %clang -### -target wasm32-unknown-linux-gnu -c %s -v 2>&1 | FileCheck -check-prefix=CHECK-WEBASSEMBLY-DEFAULT %s 18 // RUN: %clang -### -target wasm32-unknown-linux-gnu -c %s -v -mthread-model single 2>&1 | FileCheck -check-prefix=CHECK-WEBASSEMBLY-SINGLE %s 19 // RUN: %clang -### -target wasm32-unknown-linux-gnu -c %s -v -mthread-model posix 2>&1 | FileCheck -check-prefix=CHECK-WEBASSEMBLY-POSIX %s 20 // RUN: %clang -### -target wasm32-unknown-linux-gnu -c %s -v -mthread-model silly 2>&1 | FileCheck -check-prefix (…) [all...] |
| arm-ias-Wa.s | 11 // RUN: %clang -target arm-linux-gnueabi -Wa,-mcpu=cortex-a15 -c %s -### 2>&1 \ 15 // RUN: %clang -target arm -Wa,-mcpu=bogus -c %s -### 2>&1 \ 19 // RUN: %clang -target arm -mcpu=cortex-a8 -Wa,-mcpu=cortex-a15 -c %s -### 2>&1 \ 24 // RUN: %clang -target arm-linux-eabi -Wa,-mfpu=neon -c %s -### 2>&1 \ 28 // RUN: %clang -target arm-linux-eabi -Wa,-mfpu=bogus -c %s -### 2>&1 \ 32 // RUN: %clang -target arm-linux-eabi -mfpu=vfpv3 -Wa,-mfpu=neon -c %s -### 2>&1 \ 39 // RUN: %clang -target arm -Wa,-march=armbogusv6 -c %s -### 2>&1 \ 43 // RUN: %clang -target arm -march=armv7 -Wa,-march=armv6 -c %s -### 2>&1 \ 47 // RUN: %clang -target arm -Wa,-mhwdiv=arm -c %s -### 2>&1 \ 52 // RUN: %clang -target arm -Wa,-mhwdiv=thumb -c %s -### 2>&1 [all...] |
| cuda-external-tools.cu | 3 // REQUIRES: clang-driver 8 // RUN: %clang -### -target x86_64-linux-gnu -O0 -c %s 2>&1 \ 10 // RUN: %clang -### -target x86_64-linux-gnu -O1 -c %s 2>&1 \ 12 // RUN: %clang -### -target x86_64-linux-gnu -O2 -c %s 2>&1 \ 14 // RUN: %clang -### -target x86_64-linux-gnu -O3 -c %s 2>&1 \ 16 // RUN: %clang -### -target x86_64-linux-gnu -O4 -c %s 2>&1 \ 18 // RUN: %clang -### -target x86_64-linux-gnu -Ofast -c %s 2>&1 \ 22 // RUN: %clang -### -target x86_64-linux-gnu --cuda-noopt-device-debug -O2 -c %s 2>&1 \ 26 // RUN: %clang -### -target x86_64-linux-gnu --cuda-noopt-debug \ 31 // RUN: %clang -### -target x86_64-linux-gnu -c %s 2>&1 [all...] |
| darwin-ld.c | 3 // RUN: %clang -target i386-apple-darwin9 -arch i386 -arch x86_64 %s -### -o foo 2> %t.log 7 // RUN: %clang -target i386-apple-darwin9 -### -g %s -o BAR 2> %t.log 9 // RUN: %clang -target i386-apple-darwin9 -### -g -filelist FOO %s -o BAR 2> %t.log 14 // RUN: %clang -target i386-apple-darwin9 -### -arch armv6 -miphoneos-version-min=3.0 %t.o 2> %t.log 15 // RUN: %clang -target i386-apple-darwin9 -### -arch armv6 -miphoneos-version-min=3.0 -dynamiclib %t.o 2>> %t.log 16 // RUN: %clang -target i386-apple-darwin9 -### -arch armv6 -miphoneos-version-min=3.0 -bundle %t.o 2>> %t.log 33 // RUN: %clang -target i386-apple-darwin9 -### -arch armv7 -miphoneos-version-min=3.1 %t.o 2> %t.log 34 // RUN: %clang -target i386-apple-darwin9 -### -arch armv7 -miphoneos-version-min=3.1 -dynamiclib %t.o 2>> %t.log 35 // RUN: %clang -target i386-apple-darwin9 -### -arch armv7 -miphoneos-version-min=3.1 -bundle %t.o 2>> %t.log 52 // RUN: %clang -target i386-apple-darwin9 -### -arch i386 -mios-simulator-version-min=3.0 %t.o 2> %t.lo [all...] |
| darwin-arch-default.c | 3 // RUN: %clang -target powerpc-apple-darwin8 -### \ 9 // RUN: %clang -target powerpc64-apple-darwin8 -### \ 17 // RUN: %clang -target powerpc-apple-darwin8 -### \ 24 // RUN: %clang -target powerpc64-apple-darwin8 -### \ 33 // RUN: %clang -target powerpc-apple-darwin8 -### %s 2> %t 39 // RUN: %clang -target powerpc64-apple-darwin8 -### %s 2> %t
|
| incremental-linker-compatible.c | 1 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST1 4 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST2 7 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mno-incremental-linker-compatible -mincremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST3 10 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -mincremental-linker-compatible -mno-incremental-linker-compatible 2>&1 | FileCheck %s --check-prefix=TEST4 13 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-mingw32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST5 16 // RUN: %clang '-###' %s -c -o tmp.o -target i686-pc-win32 -integrated-as 2>&1 | FileCheck %s --check-prefix=TEST6
|
| nostdlib.c | 1 // RUN: %clang -target i686-pc-linux-gnu -### -nostdlib %s 2> %t 9 // RUN: %clang -### -nostartfiles -nostdlib -target i386-apple-darwin %s \ 15 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ 20 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ 25 // RUN: %clang -target x86_64-pc-windows-msvc -nostdlib --rtlib=compiler-rt -### %s 2>&1 | FileCheck %s -check-prefix CHECK-MSVC-NOSTDLIB 26 // RUN: %clang -target x86_64-pc-windows-msvc --rtlib=compiler-rt -nostdlib -### %s 2>&1 | FileCheck %s -check-prefix CHECK-MSVC-NOSTDLIB
|
| visibility.cpp | 1 // RUN: %clang -### -S -fvisibility=hidden -fvisibility=default %s 2> %t.log 7 // RUN: %clang -### -S -fvisibility=default -fvisibility=hidden %s 2> %t.log 13 // RUN: %clang -### -S -fvisibility-ms-compat -fvisibility=hidden %s 2> %t.log 19 // RUN: %clang -### -S -fvisibility-ms-compat -fvisibility=default %s 2> %t.log 25 // RUN: %clang -### -S -fvisibility=hidden -fvisibility-ms-compat %s 2> %t.log 30 // RUN: %clang -### -S -fvisibility=default -fvisibility-ms-compat %s 2> %t.log
|
| /external/skia/src/jumper/ |
| build_stages.py | 12 clang = 'clang-5.0' variable 20 clang = sys.argv[1] if len(sys.argv) > 1 else clang variable 28 clang = [ccache, clang, '-x', 'c++'] variable 38 subprocess.check_call(clang + cflags + sse2 + 41 subprocess.check_call(clang + cflags + sse2 + win + 44 subprocess.check_call(clang + cflags + sse2 + x86 + 47 subprocess.check_call(clang + cflags + sse2 + win + x86 [all...] |
| /external/skqp/src/jumper/ |
| build_stages.py | 12 clang = 'clang-5.0' variable 20 clang = sys.argv[1] if len(sys.argv) > 1 else clang variable 28 clang = [ccache, clang, '-x', 'c++'] variable 38 subprocess.check_call(clang + cflags + sse2 + 41 subprocess.check_call(clang + cflags + sse2 + win + 44 subprocess.check_call(clang + cflags + sse2 + x86 + 47 subprocess.check_call(clang + cflags + sse2 + win + x86 [all...] |
| /external/clang/unittests/Lex/ |
| PPConditionalDirectiveRecordTest.cpp | 10 #include "clang/Lex/PPConditionalDirectiveRecord.h" 11 #include "clang/Basic/Diagnostic.h" 12 #include "clang/Basic/DiagnosticOptions.h" 13 #include "clang/Basic/FileManager.h" 14 #include "clang/Basic/LangOptions.h" 15 #include "clang/Basic/SourceManager.h" 16 #include "clang/Basic/TargetInfo.h" 17 #include "clang/Basic/TargetOptions.h" 18 #include "clang/Lex/HeaderSearch.h" 19 #include "clang/Lex/HeaderSearchOptions.h [all...] |
| /frameworks/minikin/tests/unittest/ |
| OptimalLineBreakerTest.cpp | 97 // Note that disable clang-format everywhere since aligned expectation is more readable. 145 // clang-format off 150 // clang-format on 161 // clang-format off 166 // clang-format on 171 // clang-format off 176 // clang-format on 184 // clang-format off 189 // clang-format on 195 // clang-format of [all...] |
| /external/clang/include/clang/Analysis/Analyses/ |
| Dominators.h | 1 //==- Dominators.h - Implementation of dominators tree for Clang CFG C++ -*-==// 10 // This file implements the dominators tree functionality for Clang CFGs. 17 #include "clang/Analysis/AnalysisContext.h" 18 #include "clang/Analysis/CFG.h" 30 namespace clang { namespace 35 /// \brief Concrete subclass of DominatorTreeBase for Clang 36 /// This class implements the dominators tree functionality given a Clang CFG. 162 } // end namespace clang 169 template <> struct GraphTraits< ::clang::DomTreeNode* > { 170 typedef ::clang::DomTreeNode NodeType [all...] |
| /external/tensorflow/tensorflow/core/ops/ |
| nn_grad.cc | 26 // clang-format off 47 // clang-format on 53 // clang-format off 65 // clang-format on 71 // clang-format off 83 // clang-format on 89 // clang-format off 112 // clang-format on 118 // clang-format off 148 // clang-format o [all...] |
| /system/keymaster/ |
| Android.bp | 40 clang: true, 41 // TODO(krasin): reenable coverage flags, when the new Clang toolchain is released. 42 // Currently, if enabled, these flags will cause an internal error in Clang. 124 clang: true, 128 // TODO(krasin): reenable coverage flags, when the new Clang toolchain is released. 129 // Currently, if enabled, these flags will cause an internal error in Clang. 172 clang: true, 176 // TODO(krasin): reenable coverage flags, when the new Clang toolchain is released. 177 // Currently, if enabled, these flags will cause an internal error in Clang. 212 clang: true [all...] |
| /external/clang/docs/ |
| MSVCCompatibility.rst | 17 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 38 Finally, there is :ref:`clang-cl`, a driver program for clang that attempts to 68 base class`_. Clang does not yet support this [all...] |
| /external/clang/lib/Tooling/ |
| Tooling.cpp | 1 //===--- Tooling.cpp - Running clang standalone tools ---------------------===// 10 // This file implements functions to run clang tools standalone instead 15 #include "clang/Tooling/Tooling.h" 16 #include "clang/AST/ASTConsumer.h" 17 #include "clang/Driver/Compilation.h" 18 #include "clang/Driver/Driver.h" 19 #include "clang/Driver/Tool.h" 20 #include "clang/Driver/ToolChain.h" 21 #include "clang/Frontend/ASTUnit.h" 22 #include "clang/Frontend/CompilerInstance.h 38 namespace clang { namespace [all...] |
| /external/clang/test/CodeGen/ |
| aarch64-fix-cortex-a53-835769.c | 3 // RUN: %clang -O3 -target aarch64-linux-eabi %s -S -o- \ 5 // RUN: %clang -O3 -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -S -o- 2>&1 \ 7 // RUN: %clang -O3 -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -S -o- 2>&1 \ 10 // RUN: %clang -O3 -target aarch64-android-eabi %s -S -o- \ 12 // RUN: %clang -O3 -target aarch64-android-eabi -mfix-cortex-a53-835769 %s -S -o- \ 14 // RUN: %clang -O3 -target aarch64-android-eabi -mno-fix-cortex-a53-835769 %s -S -o- \
|
| /external/clang/test/Index/ |
| compile_commands.json | 4 "command": "clang++ -o project.o -c /home/john.doe/MyProject/project.cpp", 9 "command": "clang++ -o project2.o -c /home/john.doe/MyProject/project2.cpp", 14 "command": "clang++ -DFEATURE=1 -o project2-feature.o -c /home/john.doe/MyProject/project2.cpp", 23 # FILE-1-CMD: workdir:'/home/john.doe/MyProject' cmdline:'clang++ -o project.o -c /home/john.doe/MyProject/project.cpp' 26 # FILE-2-CMD: workdir:'/home/john.doe/MyProjectA' cmdline:'clang++ -o project2.o -c /home/john.doe/MyProject/project2.cpp' 27 # FILE-2-CMD: workdir:'/home/john.doe/MyProjectB' cmdline:'clang++ -DFEATURE=1 -o project2-feature.o -c /home/john.doe/MyProject/project2.cpp'
|