| /external/clang/test/Driver/ |
| arm-cortex-cpus.c | 2 // RUN: %clang -target arm -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-GENERIC %s 5 // RUN: %clang -target armeb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BE-GENERIC %s 8 // RUN: %clang -target arm -mthumb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-GENERIC-THUMB %s 11 // RUN: %clang -target armeb -mthumb -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-BE-GENERIC-THUMB %s 14 // RUN: %clang -target armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T %s 15 // RUN: %clang -target arm -march=armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T %s 18 // RUN: %clang -target armv4t -mthumb -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T-THUMB %s 19 // RUN: %clang -target arm -mthumb -march=armv4t -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V4T-THUMB %s 22 // RUN: %clang -target armv5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V5 %s 23 // RUN: %clang -target arm -march=armv5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-V5 % [all...] |
| biarch.c | 1 // RUN: %clang -target i386--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=I386 %s 2 // RUN: %clang -target x86_64--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=I386 %s 5 // RUN: %clang -target i386--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s 6 // RUN: %clang -target x86_64--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=X86_64 %s 10 // RUN: %clang -target armv6--netbsd-eabihf -m32 %s -### 2>&1 | FileCheck -check-prefix=ARMV6 %s 13 // RUN: %clang -target sparcv9--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=SPARC %s 14 // RUN: %clang -target sparc--netbsd -m32 %s -### 2>&1 | FileCheck -check-prefix=SPARC %s 17 // RUN: %clang -target sparcv9--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARCV9 %s 18 // RUN: %clang -target sparc--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARCV9 %s 21 // RUN: %clang -target sparc64--netbsd -m64 %s -### 2>&1 | FileCheck -check-prefix=SPARC64 % [all...] |
| integrated-as.s | 1 // RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s 5 // RUN: %clang -### -c -integrated-as -Wa,-L %s 2>&1 | FileCheck --check-prefix=OPT_L %s 9 // RUN: %clang -### -c -integrated-as %s -Wa,-I,foo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE1 %s 13 // RUN: %clang -### -c -integrated-as %s -Wa,-Ifoo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE2 %s 17 // RUN: %clang -### -c -integrated-as %s -Wa,-I -Wa,foo_dir 2>&1 | FileCheck --check-prefix=WA_INCLUDE3 %s 21 // RUN: %clang -### -c -integrated-as %s -Xassembler -I -Xassembler foo_dir 2>&1 | FileCheck --check-prefix=XA_INCLUDE1 %s 25 // RUN: %clang -### -c -integrated-as %s -Xassembler -Ifoo_dir 2>&1 | FileCheck --check-prefix=XA_INCLUDE2 %s 29 // RUN: %clang -### -c -integrated-as %s -gdwarf-4 -gdwarf-2 2>&1 | FileCheck --check-prefix=DWARF2 %s 32 // RUN: %clang -### -c -integrated-as %s -gdwarf-3 2>&1 | FileCheck --check-prefix=DWARF3 %s 35 // RUN: %clang -### -c -integrated-as %s -gdwarf-4 2>&1 | FileCheck --check-prefix=DWARF4 % [all...] |
| /frameworks/native/services/surfaceflinger/DisplayHardware/ |
| HWC2.h | 204 [[clang::warn_unused_result]] Error acceptChanges(); 205 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer); 206 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer); 207 [[clang::warn_unused_result]] Error getActiveConfig( 209 [[clang::warn_unused_result]] Error getActiveConfigIndex(int* outIndex) const; 210 [[clang::warn_unused_result]] Error getChangedCompositionTypes( 212 [[clang::warn_unused_result]] Error getColorModes( 216 [[clang::warn_unused_result]] Error getSupportedPerFrameMetadata( 218 [[clang::warn_unused_result]] Error getRenderIntents( 221 [[clang::warn_unused_result]] Error getDataspaceSaturationMatrix [all...] |
| /external/clang/docs/ |
| FAQ.rst | 11 I run ``clang -cc1 ...`` and get weird errors about missing headers 29 $ clang -cc1 hello.c 35 ``clang -cc1`` is the frontend, ``clang`` is the :doc:`driver 41 $ clang -### -c hello.c 43 Some clang command line options are driver-only options, some are frontend-only 44 options. Frontend-only options are intended to be used only by clang developers. 45 Users should not run ``clang -cc1`` directly, because ``-cc1`` options are not 49 ``-ast-dump``, then you need to take the ``clang -cc1`` line generated by the 51 ``clang -Xclang <option> ...`` to force the driver pass ``<option>`` t [all...] |
| /external/clang/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /external/clang/include/clang/Basic/ |
| Version.h | 1 //===- Version.h - Clang Version Number -------------------------*- C++ -*-===// 12 /// for Clang. 19 #include "clang/Basic/Version.inc" 29 /// \brief A string that describes the Clang version number, e.g., "1.0". 37 /// \brief A string that describes the Clang version number, e.g., "1.0". 42 namespace clang { namespace 44 /// identifies the particular Clang branch, tag, or trunk from which this 45 /// Clang was built. 50 /// This supports LLVM residing in a separate repository from clang. 54 /// this Clang was built [all...] |
| /external/clang/tools/diagtool/ |
| DiagnosticNames.cpp | 11 #include "clang/Basic/AllDiagnostics.h" 14 using namespace clang; 19 #include "clang/Basic/DiagnosticIndexName.inc" 34 #include "clang/Basic/DiagnosticCommonKinds.inc" 35 #include "clang/Basic/DiagnosticDriverKinds.inc" 36 #include "clang/Basic/DiagnosticFrontendKinds.inc" 37 #include "clang/Basic/DiagnosticSerializationKinds.inc" 38 #include "clang/Basic/DiagnosticLexKinds.inc" 39 #include "clang/Basic/DiagnosticParseKinds.inc" 40 #include "clang/Basic/DiagnosticASTKinds.inc [all...] |
| /external/clang/unittests/AST/ |
| EvaluateAsRValueTest.cpp | 15 #include "clang/AST/ASTConsumer.h" 16 #include "clang/AST/ASTConsumer.h" 17 #include "clang/AST/ASTContext.h" 18 #include "clang/AST/RecursiveASTVisitor.h" 19 #include "clang/Tooling/Tooling.h" 24 using namespace clang::tooling; 33 : public clang::RecursiveASTVisitor<EvaluateConstantInitializersVisitor> { 43 bool VisitVarDecl(const clang::VarDecl *VD) { 44 if (const clang::Expr *Init = VD->getInit()) { 45 clang::Expr::EvalResult Result [all...] |
| /external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
| fold-call-3.ll | 4 %"struct.clang::Action" = type { %"struct.clang::ActionBase" } 5 %"struct.clang::ActionBase" = type { i32 (...)** } 6 %"struct.clang::ActionBase::ActionResult<0u>" = type { i8*, i8 } 8 @llvm.used = appending global [1 x i8*] [ i8* bitcast (void (i8*, %"struct.clang::Action"*)* @_Z25RawPointerPerformanceTestPvRN5clang6ActionE to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] 10 define void @_Z25RawPointerPerformanceTestPvRN5clang6ActionE(i8* %Val, %"struct.clang::Action"* %Actions) nounwind { 12 %0 = alloca %"struct.clang::ActionBase::ActionResult<0u>", align 8 ; <%"struct.clang::ActionBase::ActionResult<0u>"*> [#uses=3] 18 %3 = getelementptr %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0 ; <i32 (...)***> [#uses=1] 19 %mrv_gep = bitcast %"struct.clang::ActionBase::ActionResult<0u>"* %0 to i64* ; <i64*> [#uses=1 [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/ASTMatchers/ |
| ASTMatchersMacros.h | 28 // AST_MATCHER_P(clang::MemberExpr, Member, 29 // clang::ast_matchers::internal::Matcher<clang::ValueDecl>, 37 // namespace clang { 46 // } // namespace clang 59 return ::clang::ast_matchers::internal::MemoizedMatcher< \ 98 : public ::clang::ast_matchers::internal::MatcherInterface<Type> { \ 102 ::clang::ast_matchers::internal::ASTMatchFinder *Finder, \ 103 ::clang::ast_matchers::internal::BoundNodesTreeBuilder \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { [all...] |
| /external/clang/www/ |
| get_started.html | 6 <title>Clang - Getting Started</title> 16 <h1>Getting Started: Building and Running Clang</h1> 18 <p>This page gives you the shortest path to checking out Clang and demos a few 21 involved</a> with the Clang community. If you run into problems, please file 24 <h2 id="download">Release Clang Versions</h2> 26 <p>Clang is released as part of regular LLVM releases. You can download the release versions from <a href="http://llvm.org/releases/">http://llvm.org/releases/</a>.</p> 27 <p>Clang is also provided in all major BSD or GNU/Linux distributions as part of their respective packaging systems. From Xcode 4.2, Clang is the default compiler for Mac OS X.</p> 29 <h2 id="build">Building Clang and Working with the Code</h2> 33 <p>If you would like to check out and build Clang, the current procedure is a [all...] |