| /external/clang/lib/Analysis/ |
| FormatStringParsing.h | 4 #include "clang/Analysis/Analyses/FormatString.h" 5 #include "clang/AST/ASTContext.h" 6 #include "clang/AST/Type.h" 9 namespace clang { namespace 69 } // end clang namespace
|
| /external/clang/test/Driver/ |
| darwin-xarch.c | 1 // RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### \ 7 // CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "i386-apple-macosx10.4.0" 8 // CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "x86_64-apple-macosx10.5.0" 10 // RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### \ 16 // RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### \
|
| clang_f_opts.c | 1 // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s 2 // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-asm -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-enums -fshort-wchar %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s 16 // RUN: %clang -### -S -Wwrite-strings %s 2>&1 | FileCheck -check-prefix=WRITE-STRINGS1 %s 18 // RUN: %clang -### -S -Wwrite-strings -Wno-write-strings %s 2>&1 | FileCheck -check-prefix=WRITE-STRINGS2 %s 20 // RUN: %clang -### -S -Wwrite-strings -w %s 2>&1 | FileCheck -check-prefix=WRITE-STRINGS3 %s 23 // RUN: %clang -### -x c++ -c %s 2>&1 | FileCheck -check-prefix=DEPRECATED-ON-CHECK %s 24 // RUN: %clang -### -x c++ -c -Wdeprecated %s 2>&1 | FileCheck -check-prefix=DEPRECATED-ON-CHECK %s 25 // RUN: %clang -### -x c++ -c -Wno-deprecated %s 2>&1 | FileCheck -check-prefix=DEPRECATED-OFF-CHECK %s 26 // RUN: %clang -### -x c++ -c -Wno-deprecated -Wdeprecated %s 2>&1 | FileCheck -check-prefix=DEPRECATED-ON-CHECK %s 27 // RUN: %clang -### -x c++ -c -w %s 2>&1 | FileCheck -check-prefix=DEPRECATED-ON-CHECK % [all...] |
| flags.c | 1 // RUN: %clang -ccc-host-triple i386-apple-darwin9 -### -S -msoft-float %s 2> %t.log 4 // RUN: %clang -ccc-host-triple i386-apple-darwin9 -### -S -msoft-float -mno-soft-float %s 2> %t.log 7 // RUN: %clang -ccc-host-triple i386-apple-darwin9 -### -S -mno-soft-float %s -msoft-float 2> %t.log
|
| hello.c | 1 // RUN: %clang -ccc-echo -o %t.exe %s 2> %t.log 3 // Make sure we used clang. 4 // RUN: grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' %t.log
|
| freebsd.c | 1 // RUN: %clang -ccc-clang-archs "" -ccc-host-triple powerpc64-pc-freebsd8 %s -### 2> %t 4 // CHECK-PPC: clang{{.*}}" "-cc1" "-triple" "powerpc64-pc-freebsd8" 10 // RUN: %clang -ccc-host-triple x86_64-pc-freebsd8 -m32 -### %s 2> %t 13 // CHECK-LIB32: clang{{.*}}" "-cc1" "-triple" "i386-pc-freebsd8" 16 // RUN: %clang -ccc-host-triple x86_64-pc-freebsd8 -m32 -print-search-dirs %s > %t
|
| /frameworks/compile/slang/ |
| slang_rs_export_element.h | 22 #include "clang/Lex/Token.h" 29 namespace clang { namespace 32 } // namespace clang 59 const clang::Type *T, 68 const clang::DeclaratorDecl *DD);
|
| slang_rs_export_func.cpp | 21 #include "clang/AST/ASTContext.h" 22 #include "clang/AST/Decl.h" 35 static bool ValidateFuncDecl(clang::DiagnosticsEngine *DiagEngine, 36 const clang::FunctionDecl *FD) { 38 const clang::ASTContext &C = FD->getASTContext(); 41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 42 DiagEngine->getCustomDiagID(clang::DiagnosticsEngine::Error, 53 const clang::FunctionDecl *FD) { 69 clang::ASTContext &Ctx = Context->getASTContext(); 74 clang::RecordDecl *RD [all...] |
| slang_backend.h | 20 #include "clang/AST/ASTConsumer.h" 39 namespace clang { namespace 49 class Backend : public clang::ASTConsumer { 51 const clang::CodeGenOptions &mCodeGenOpts; 52 const clang::TargetOptions &mTargetOpts; 60 // This helps us translate Clang AST using into LLVM IR 61 clang::CodeGenerator *mGen; 82 clang::DiagnosticsEngine &mDiagEngine; 90 // This handler will be invoked before Clang translates @Ctx to LLVM IR. This 96 virtual void HandleTranslationUnitPre(clang::ASTContext &Ctx) { return; [all...] |
| slang_rs_export_var.cpp | 19 #include "clang/AST/Type.h" 30 const clang::VarDecl *VD, 37 const clang::Expr *Initializer = VD->getAnyInitializer(); 48 clang::Expr::NPC_ValueDependentIsNotNull) 50 mInit.Val = clang::APValue(llvm::APSInt(1)); 71 clang::QualType QT = VD->getTypeSourceInfo()->getType();
|
| /external/clang/ |
| CMakeLists.txt | 1 # If we are not building as a part of LLVM, build Clang as an 4 project(Clang) 64 "Relative directory from the Clang binary to its resource files.") 67 "Colon separated list of directories clang will search for headers.") 90 "${CLANG_SOURCE_DIR}/include/clang/*.inc") 99 # Compute the Clang version from the LLVM version. 102 message(STATUS "Clang version: ${CLANG_VERSION}") 118 ${CMAKE_CURRENT_SOURCE_DIR}/include/clang/Basic/Version.inc.in 119 ${CMAKE_CURRENT_BINARY_DIR}/include/clang/Basic/Version.inc) 131 ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmak [all...] |
| INSTALL.txt | 2 // Clang Installation Instructions 5 These instructions describe how to build and install Clang. 11 Clang is designed to be built as part of an LLVM build. Assuming that the LLVM 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 28 automatically be built with LLVM. Otherwise, run 'make' in the Clang sourc [all...] |
| /external/clang/include/clang/Basic/ |
| DiagnosticCategories.h | 13 namespace clang { namespace 18 #include "clang/Basic/DiagnosticGroups.inc" 24 } // end namespace clang
|
| Makefile | 16 # Compute the Clang version from the LLVM version, unless specified explicitly. 33 $(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen" 34 $(Verb) $(ClangTableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $< 37 $(Echo) "Building Clang diagnostic name index with tblgen" 38 $(Verb) $(ClangTableGen) -gen-clang-diags-index-name -o $(call SYSPATH, $@) $< 41 $(Echo) "Building Clang diagnostic groups with tblgen" 42 $(Verb) $(ClangTableGen) -gen-clang-diag-groups -o $(call SYSPATH, $@) $< 45 $(Echo) "Building Clang attribute list with tblgen" 46 $(Verb) $(ClangTableGen) -gen-clang-attr-list -o $(call SYSPATH, $@) [all...] |
| /external/clang/include/clang/Frontend/ |
| FrontendPluginRegistry.h | 13 #include "clang/Frontend/FrontendAction.h" 16 namespace clang { namespace 21 } // end namespace clang
|
| /external/clang/test/ARCMT/ |
| driver-migrate.m | 1 // RUN: %clang -### -ccc-arcmt-migrate /foo/bar -fsyntax-only %s 2>&1 | FileCheck %s 6 // RUN: %clang -ccc-arcmt-check -ccc-host-triple i386-apple-darwin9 -### %t.o 2> %t.log 8 // RUN: %clang -ccc-arcmt-migrate /foo/bar -ccc-host-triple i386-apple-darwin9 -### %t.o 2> %t.log
|
| /external/clang/test/Preprocessor/ |
| pic.c | 1 // RUN: %clang -ccc-host-triple i386-unknown-unknown -static -dM -E -o %t %s 4 // RUN: %clang -ccc-host-triple i386-unknown-unknown -fpic -dM -E -o %t %s 7 // RUN: %clang -ccc-host-triple i386-unknown-unknown -fPIC -dM -E -o %t %s
|
| 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 11 // RUN: %clang -E -MD -MF %t.d -MQ foo -o %t %s 16 // RUN: %clang -E -MD -MF %t.d -MQ '$fo\ooo ooo\ ooo\\ ooo#oo' -o %t %s 21 // RUN: %clang -E -MD -MF %t.d -MT foo -MT bar -MT baz -o %t %s 27 // 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/SemaCXX/ |
| cxx0x-return-init-list.cpp | 5 // be used in libstdc++ 4.5. We accept only this syntax so that Clang 9 return { i }; // expected-warning{{generalized initializer lists are a C++11 extension unsupported in Clang}} 14 return { u }; // expected-warning{{generalized initializer lists are a C++11 extension unsupported in Clang}}
|
| /external/clang/utils/VtableTest/ |
| check-zti | 9 sed -n "/^__ZTI.*s$i:/,/\.[sg][el]/p" test-clang.s | 10 grep -v '\.[sg][el]' | sed 's/(\([0-9][0-9]*\))/\1/' >test-clang-zti 13 diff -U3 test-gcc-zti test-clang-zti
|
| check-ztt | 9 sed -n "/^__ZTT.*s$i:/,/\.[sgm][elo]/p" test-clang.s | 10 grep -v '\.[sgm][elo]' | sed -e 's/[()]//g' -e '/^$/d' >test-clang-ztt 13 diff -U3 test-gcc-ztt test-clang-ztt
|
| check-zvt | 9 sed -n "/^__ZTV.*s$i:/,/\.[sg][el]/p" test-clang.s | grep -v '\.[sg][el]' >test-clang-ztv 11 diff -U3 test-gcc-ztv test-clang-ztv
|
| /external/clang/lib/Frontend/ |
| LangStandards.cpp | 10 #include "clang/Frontend/LangStandard.h" 13 using namespace clang; 14 using namespace clang::frontend; 18 #include "clang/Frontend/LangStandards.def" 28 #include "clang/Frontend/LangStandards.def" 36 #include "clang/Frontend/LangStandards.def"
|
| /external/clang/test/Frontend/ |
| dependency-gen.c | 7 // RUN: %clang -MD -MF - %s -fsyntax-only -I a/b | FileCheck -check-prefix=CHECK-ONE %s 11 // RUN: %clang -MD -MF - %s -fsyntax-only -include a/b/x.h -DINCLUDE_FLAG_TEST | FileCheck -check-prefix=CHECK-TWO %s 15 // RUN: %clang -MD -MF - %s -fsyntax-only -I ./a/b | FileCheck -check-prefix=CHECK-THREE %s 17 // RUN: %clang -MD -MF - %s -fsyntax-only -I .//./a/b/ | FileCheck -check-prefix=CHECK-FOUR %s 19 // RUN: %clang -MD -MF - %s -fsyntax-only -I a/b/. | FileCheck -check-prefix=CHECK-FIVE %s 22 // RUN: %clang -MD -MF - %s -fsyntax-only -I ./ | FileCheck -check-prefix=CHECK-SIX %s
|
| /external/clang/www/ |
| OpenProjects.html | 6 <title>Clang - Get Involved</title> 16 <h1>Open Clang Projects</h1> 29 for certain crowds of people. Because the inserted code is coming from clang, 37 <li><b>Implement an tool to generate code documentation</b>: Clang's 39 about source code. One great application of Clang would be to build an 41 source code. The advantage of using Clang for such a tool is that the tool would 45 <li><b>Use clang libraries to implement better versions of existing tools</b>: 46 Clang is built as a set of libraries, which means that it is possible to 53 faster and more efficient at reducing C-family programs if built on the clang 55 would be straight-forward to extend a clang-based implementation to handl [all...] |