| /external/clang/test/Sema/ |
| carbon.c | 1 // RUN: %clang -fsyntax-only %s -print-stats
|
| /external/clang/test/SemaObjC/ |
| cocoa.m | 1 // RUN: %clang -arch x86_64 %s -fsyntax-only -Xclang -print-stats
|
| /external/clang/utils/C++Tests/ |
| lit.cfg | 5 # Load the main clang test config so we can leech its clang finding logic. 8 assert config.clang, "Failed to set clang!?" 11 config.name = 'Clang++' 17 # Reset these from the Clang config. 20 # Don't run Clang and LLVM code checks by default. 23 config.excludes.append('Clang-Code-Syntax') 24 config.excludes.append('Clang-Code-Compile')
|
| /external/llvm/utils/lit/lit/ExampleTests/Clang/ |
| fsyntax-only.c | 1 // RUN: clang -fsyntax-only -Xclang -verify %s
|
| /frameworks/compile/slang/ |
| slang_rs_object_ref_count.h | 23 #include "clang/AST/StmtVisitor.h" 28 namespace clang { namespace 45 class RSObjectRefCount : public clang::StmtVisitor<RSObjectRefCount> { 49 clang::CompoundStmt *mCS; // Associated compound statement ({ ... }) 50 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope 53 explicit Scope(clang::CompoundStmt *CS) : mCS(CS) { 57 inline void addRSObject(clang::VarDecl* VD) { 62 void ReplaceRSObjectAssignment(clang::BinaryOperator *AS); 64 void AppendRSObjectInit(clang::VarDecl *VD, 65 clang::DeclStmt *DS [all...] |
| slang_rs_ast_replace.cpp | 26 clang::Stmt *OuterStmt, 27 clang::Stmt *OldStmt, 28 clang::Stmt *NewStmt) { 35 mOldExpr = llvm::dyn_cast<clang::Expr>(OldStmt); 37 mNewExpr = llvm::dyn_cast<clang::Expr>(NewStmt); 42 void RSASTReplace::ReplaceInCompoundStmt(clang::CompoundStmt *CS) { 43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()]; 46 clang::CompoundStmt::body_iterator bI = CS->body_begin(); 47 clang::CompoundStmt::body_iterator bE = CS->body_end() [all...] |
| slang_pragma_recorder.cpp | 21 #include "clang/Basic/TokenKinds.h" 23 #include "clang/Lex/Preprocessor.h" 24 #include "clang/Lex/Token.h" 28 bool PragmaRecorder::GetPragmaNameFromToken(const clang::Token &Token, 32 else if (Token.is(clang::tok::identifier)) 40 bool PragmaRecorder::GetPragmaValueFromToken(const clang::Token &Token, 43 if (Token.is(clang::tok::r_paren)) 56 void PragmaRecorder::HandlePragma(clang::Preprocessor &PP, 57 clang::PragmaIntroducerKind Introducer, 58 clang::Token &FirstToken) [all...] |
| slang_pragma_recorder.h | 24 #include "clang/Lex/Pragma.h" 26 namespace clang { namespace 35 class PragmaRecorder : public clang::PragmaHandler { 39 static bool GetPragmaNameFromToken(const clang::Token &Token, 42 static bool GetPragmaValueFromToken(const clang::Token &Token, 48 virtual void HandlePragma(clang::Preprocessor &PP, 49 clang::PragmaIntroducerKind Introducer, 50 clang::Token &FirstToken);
|
| slang_rs_export_foreach.h | 23 #include "clang/AST/Decl.h" 30 namespace clang { namespace 32 } // namespace clang 48 const clang::ParmVarDecl *mIn; 49 const clang::ParmVarDecl *mOut; 50 const clang::ParmVarDecl *mUsrData; 51 const clang::ParmVarDecl *mX; 52 const clang::ParmVarDecl *mY; 53 const clang::ParmVarDecl *mZ; 54 const clang::ParmVarDecl *mAr [all...] |
| slang.cpp | 24 #include "clang/AST/ASTConsumer.h" 25 #include "clang/AST/ASTContext.h" 27 #include "clang/Basic/DiagnosticIDs.h" 28 #include "clang/Basic/FileManager.h" 29 #include "clang/Basic/FileSystemOptions.h" 30 #include "clang/Basic/LangOptions.h" 31 #include "clang/Basic/SourceManager.h" 32 #include "clang/Basic/TargetInfo.h" 33 #include "clang/Basic/TargetOptions.h" 35 #include "clang/Frontend/CodeGenOptions.h [all...] |
| /external/clang/include/clang/AST/ |
| StmtGraphTraits.h | 18 #include "clang/AST/Stmt.h" 27 template <> struct GraphTraits<clang::Stmt*> { 28 typedef clang::Stmt NodeType; 29 typedef clang::Stmt::child_iterator ChildIteratorType; 30 typedef llvm::df_iterator<clang::Stmt*> nodes_iterator; 32 static NodeType* getEntryNode(clang::Stmt* S) { return S; } 44 static nodes_iterator nodes_begin(clang::Stmt* S) { 48 static nodes_iterator nodes_end(clang::Stmt* S) { 54 template <> struct GraphTraits<const clang::Stmt*> { 55 typedef const clang::Stmt NodeType [all...] |
| TypeOrdering.h | 19 #include "clang/AST/Type.h" 20 #include "clang/AST/CanonicalType.h" 23 namespace clang { namespace 38 template<> struct DenseMapInfo<clang::QualType> { 39 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 41 static inline clang::QualType getTombstoneKey() { 42 using clang::QualType; 43 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1)); 46 static unsigned getHashValue(clang::QualType Val) [all...] |
| Makefile | 11 $(Echo) "Building Clang attribute classes with tblgen" 12 $(Verb) $(ClangTableGen) -gen-clang-attr-classes -o $(call SYSPATH, $@) \ 17 $(Echo) "Building Clang attribute implementations with tblgen" 18 $(Verb) $(ClangTableGen) -gen-clang-attr-impl -o $(call SYSPATH, $@) \ 23 $(Echo) "Building Clang statement node tables with tblgen" 24 $(Verb) $(ClangTableGen) -gen-clang-stmt-nodes -o $(call SYSPATH, $@) $< 28 $(Echo) "Building Clang declaration node tables with tblgen" 29 $(Verb) $(ClangTableGen) -gen-clang-decl-nodes -o $(call SYSPATH, $@) $<
|
| /external/clang/include/clang/Basic/ |
| TargetBuiltins.h | 13 #include "clang/Basic/Builtins.h" 16 namespace clang { namespace 21 LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, 23 #include "clang/Basic/BuiltinsARM.def" 31 LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, 33 #include "clang/Basic/BuiltinsPPC.def" 41 LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, 43 #include "clang/Basic/BuiltinsPTX.def" 52 LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, 54 #include "clang/Basic/BuiltinsX86.def [all...] |
| CMakeLists.txt | 3 -gen-clang-diags-defs -clang-component=${component} 16 clang_tablegen(DiagnosticGroups.inc -gen-clang-diag-groups 20 clang_tablegen(DiagnosticIndexName.inc -gen-clang-diags-index-name 24 clang_tablegen(AttrList.inc -gen-clang-attr-list
|
| /external/clang/test/Driver/ |
| bindings.c | 2 // RUN: %clang -ccc-host-triple i386-unknown-unknown -ccc-print-bindings %s 2> %t 3 // RUN: grep '"clang", inputs: \[".*bindings.c"\], output: ".*\.s"' %t 7 // RUN: %clang -ccc-host-triple i386-unknown-unknown -ccc-print-bindings -ccc-no-clang %s 2> %t 12 // RUN: %clang -ccc-host-triple i386-unknown-unknown -ccc-print-bindings -ccc-no-clang -no-integrated-cpp %s 2> %t 18 // RUN: %clang -ccc-host-triple i386-unknown-unknown -ccc-print-bindings -ccc-no-clang -x c-header %s 2> %t 21 // Clang control options 23 // RUN: %clang -ccc-host-triple i386-unknown-unknown -ccc-print-bindings -fsyntax-only %s 2> % [all...] |
| clang-g-opts.c | 1 // RUN: %clang -S -v -o %t %s 2>&1 | not grep -w -- -g 2 // RUN: %clang -S -v -o %t %s -g 2>&1 | grep -w -- -g 3 // RUN: %clang -S -v -o %t %s -g0 2>&1 | not grep -w -- -g 4 // RUN: %clang -S -v -o %t %s -g -g0 2>&1 | not grep -w -- -g 5 // RUN: %clang -S -v -o %t %s -g0 -g 2>&1 | grep -w -- -g
|
| /external/clang/docs/ |
| doxygen.footer | 7 See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more
|
| /external/clang/include/clang/Serialization/ |
| CMakeLists.txt | 1 clang_tablegen(AttrPCHRead.inc -gen-clang-attr-pch-read 6 clang_tablegen(AttrPCHWrite.inc -gen-clang-attr-pch-write
|
| /external/clang/test/Frontend/ |
| ast-codegen.c | 1 // RUN: %clang -emit-ast -o %t.ast %s 2 // RUN: %clang -emit-llvm -S -o - %t.ast | FileCheck %s
|
| diagnostic-name.c | 1 // RUN: %clang -fsyntax-only -Wunused-parameter -fdiagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 1 2 // RUN: %clang -fsyntax-only -Wunused-parameter -fno-diagnostics-show-name %s 2>&1 | grep "\[warn_unused_parameter\]" | count 0
|
| /external/clang/test/Lexer/ |
| utf-16.c | 1 // RUN: not %clang %s -fsyntax-only -verify 4 // This test verifies that clang gives a decent error for UTF-16 source files.
|
| /external/clang/utils/TableGen/ |
| TableGen.cpp | 1 //===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===// 10 // This file contains the main function for Clang's TableGen. 58 clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes", 59 "Generate clang attribute clases"), 60 clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl", 61 "Generate clang attribute implementations"), 62 clEnumValN(GenClangAttrList, "gen-clang-attr-list", 63 "Generate a clang attribute list"), 64 clEnumValN(GenClangAttrPCHRead, "gen-clang-attr-pch-read", 65 "Generate clang PCH attribute reader") [all...] |
| /external/clang/ |
| README.txt | 5 Welcome to Clang. This is a compiler front-end for the C family of languages 9 Unlike many other compiler frontends, Clang is useful for a number of things 10 beyond just compiling code: we intend for Clang to be host to a number of 11 different source level tools. One example of this is the Clang Static Analyzer. 13 If you're interested in more (including how to build Clang) it is best to read 16 Information on Clang: http://clang.llvm.org/ 17 Building and using Clang: http://clang.llvm.org/get_started.html 18 Clang Static Analyzer: http://clang-analyzer.llvm.org [all...] |
| /external/clang/utils/C++Tests/Clang-Syntax/ |
| lit.local.cfg | 13 config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang, 14 dir='%s/tools/clang/include/clang' % root.llvm_src_root, 23 '-I%s/tools/clang/include' % root.llvm_src_root, 24 '-I%s/tools/clang/include' % root.llvm_obj_root])
|