| /external/clang/test/Driver/ |
| default-toolchain.c | 1 // RUN: %clang -target i386-unknown-unknown -m64 -v 2> %t 4 // RUN: %clang -target i386-apple-darwin9 -arch ppc -m64 -v 2> %t 7 // RUN: %clang -target i386-apple-darwin9 -arch ppc64 -m32 -v 2> %t
|
| integrated-as.c | 1 // RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s 6 // RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS 10 // RUN: %clang -### -fno-integrated-as -S %s 2>&1 \
|
| rewrite-map-in-diagnostics.c | 4 // RUN: %clang -fsyntax-only -frewrite-map-file %p/Inputs/rewrite.map %s 2>&1 \ 7 #pragma clang __debug parser_crash 13 // FIXME: This doesn't fail on "env clang". Investigating.
|
| /external/clang/test/Misc/ |
| emit-html.c | 23 _Pragma("clang diagnostic push") 24 _Pragma("clang diagnostic ignored \"-Wformat-extra-args\"") 25 _Pragma("clang diagnostic pop")
|
| /external/clang/test/Preprocessor/ |
| ignore-pragmas.c | 3 // RUN: %clang -M -Wall %s -Xclang -verify 4 // RUN: %clang -E -frewrite-includes %s -Wall -Xclang -verify 5 // RUN: %clang -E -dD -dM %s -Wall -Xclang -verify
|
| /external/llvm/test/DebugInfo/Inputs/ |
| arange-overlap.cc | 24 // $ clang -g -fPIC -c -DFILE1 arange-overlap.cc -o obj1.o 25 // $ clang -g -fPIC -c arange-overlap.cc -o obj2.o 26 // $ clang -shared obj1.o obj2.o -o <output>
|
| /external/llvm/test/tools/llvm-readobj/Inputs/ |
| dynamic-table.c | 0 // clang -target mipsel-linux-gnu -shared -fPIC -lc dynamic-table.c \ 3 // clang -target mipsel-linux-gnu -lc dynamic-table.c \ 5 // clang -target aarch64-linux-gnu -fPIC -shared dynamic-table.c \
|
| /frameworks/compile/slang/ |
| slang_rs_context.h | 28 #include "clang/Lex/Preprocessor.h" 29 #include "clang/AST/Mangle.h" 41 namespace clang { namespace 50 } // namespace clang 79 clang::Preprocessor &mPP; 80 clang::ASTContext &mCtx; 103 std::unique_ptr<clang::MangleContext> mMangleCtx; 107 bool processExportVar(const clang::VarDecl *VD); 108 bool processExportFunc(const clang::FunctionDecl *FD); 111 int getForEachSlotNumber(const clang::StringRef& funcName) [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...] |
| /external/clang/tools/driver/ |
| cc1_main.cpp | 1 //===-- cc1_main.cpp - Clang CC1 Compiler Frontend ------------------------===// 10 // This is the entry point to the clang -cc1 functionality, which implements the 17 #include "clang/CodeGen/ObjectFilePCHContainerOperations.h" 18 #include "clang/Driver/DriverDiagnostic.h" 19 #include "clang/Driver/Options.h" 20 #include "clang/Frontend/CompilerInstance.h" 21 #include "clang/Frontend/CompilerInvocation.h" 22 #include "clang/Frontend/FrontendDiagnostic.h" 23 #include "clang/Frontend/TextDiagnosticBuffer.h" 24 #include "clang/Frontend/TextDiagnosticPrinter.h [all...] |
| /external/v8/tools/clang/empty_string/ |
| EmptyStringConverter.cpp | 5 // This implements a Clang tool to convert all instances of std::string("") to 8 // should be run using the tools/clang/scripts/run_tool.py helper. 11 #include "clang/ASTMatchers/ASTMatchFinder.h" 12 #include "clang/ASTMatchers/ASTMatchers.h" 13 #include "clang/Basic/SourceManager.h" 14 #include "clang/Frontend/FrontendActions.h" 15 #include "clang/Tooling/CommonOptionsParser.h" 16 #include "clang/Tooling/Refactoring.h" 17 #include "clang/Tooling/Tooling.h" 20 using namespace clang::ast_matchers [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Tooling/ |
| DiagnosticsYaml.h | 19 #include "clang/Tooling/Core/Diagnostic.h" 20 #include "clang/Tooling/ReplacementsYaml.h" 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Diagnostic) 29 template <> struct MappingTraits<clang::tooling::Diagnostic> { 35 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} 37 NormalizedDiagnostic(const IO &, const clang::tooling::Diagnostic &D) 42 clang::tooling::Diagnostic denormalize(const IO &) { 43 return clang::tooling::Diagnostic(DiagnosticName, Message, Fix, Notes, 48 clang::tooling::DiagnosticMessage Message; 49 llvm::StringMap<clang::tooling::Replacements> Fix [all...] |
| /development/vndk/tools/header-checker/header-abi-dumper/src/ |
| ast_processing.cpp | 18 #include <clang/Lex/Token.h> 19 #include <clang/Tooling/Core/QualTypeNames.h> 20 #include <clang/Index/CodegenNameGenerator.h> 33 clang::MangleContext *mangle_contextp, 34 clang::ASTContext *ast_contextp, 35 const clang::CompilerInstance *compiler_instance_p, 37 const clang::Decl *tu_decl, 48 bool HeaderASTVisitor::VisitRecordDecl(const clang::RecordDecl *decl) { 63 bool HeaderASTVisitor::VisitEnumDecl(const clang::EnumDecl *decl) { 94 static bool ShouldSkipFunctionDecl(const clang::FunctionDecl *decl) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/share/clang/ |
| clang-include-fixer.el | 0 ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- 8 ;; This package allows Emacs users to invoke the 'clang-include-fixer' within 9 ;; Emacs. 'clang-include-fixer' provides an automated way of adding #include 11 ;; <http://clang.llvm.org/extra/include-fixer.html>. 19 (defgroup clang-include-fixer nil 20 "Clang-based include fixer." 23 (defvar clang-include-fixer-add-include-hook nil 28 (defcustom clang-include-fixer-executable 29 "clang-include-fixer [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/share/clang/ |
| clang-include-fixer.el | 0 ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- 8 ;; This package allows Emacs users to invoke the 'clang-include-fixer' within 9 ;; Emacs. 'clang-include-fixer' provides an automated way of adding #include 11 ;; <http://clang.llvm.org/extra/include-fixer.html>. 19 (defgroup clang-include-fixer nil 20 "Clang-based include fixer." 23 (defvar clang-include-fixer-add-include-hook nil 28 (defcustom clang-include-fixer-executable 29 "clang-include-fixer [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/share/clang/ |
| clang-include-fixer.el | 0 ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- 8 ;; This package allows Emacs users to invoke the 'clang-include-fixer' within 9 ;; Emacs. 'clang-include-fixer' provides an automated way of adding #include 11 ;; <http://clang.llvm.org/extra/include-fixer.html>. 19 (defgroup clang-include-fixer nil 20 "Clang-based include fixer." 23 (defvar clang-include-fixer-add-include-hook nil 28 (defcustom clang-include-fixer-executable 29 "clang-include-fixer [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/share/clang/ |
| clang-include-fixer.el | 0 ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- 8 ;; This package allows Emacs users to invoke the 'clang-include-fixer' within 9 ;; Emacs. 'clang-include-fixer' provides an automated way of adding #include 11 ;; <http://clang.llvm.org/extra/include-fixer.html>. 19 (defgroup clang-include-fixer nil 20 "Clang-based include fixer." 23 (defvar clang-include-fixer-add-include-hook nil 28 (defcustom clang-include-fixer-executable 29 "clang-include-fixer [all...] |
| /prebuilts/clang/host/linux-x86/clang-4579689/share/clang/ |
| clang-include-fixer.el | 0 ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- 8 ;; This package allows Emacs users to invoke the 'clang-include-fixer' within 9 ;; Emacs. 'clang-include-fixer' provides an automated way of adding #include 11 ;; <http://clang.llvm.org/extra/include-fixer.html>. 19 (defgroup clang-include-fixer nil 20 "Clang-based include fixer." 23 (defvar clang-include-fixer-add-include-hook nil 28 (defcustom clang-include-fixer-executable 29 "clang-include-fixer [all...] |