Lines Matching refs:clang

7 of specific tools using this infrastructure (e.g. ``clang-check``). This
17 invoking clang tools, you can either specify a path to a build directory
20 build using CMake to use clang tools.
37 If you want to use clang instead of GCC, you can add
38 ``-DCMAKE_C_COMPILER=/path/to/clang -DCMAKE_CXX_COMPILER=/path/to/clang++``.
59 After you completed the previous steps, you are ready to run clang tools. If
60 you have a recent clang installed, you should have ``clang-check`` in
65 $ clang-check tools/clang/lib/Tooling/CompilationDatabase.cpp
67 If you're using vim, it's convenient to have clang-check integrated. Put
88 call ClangCheckImpl("clang-check " . l:filename)
92 echo "Can't detect file's compilation arguments and no previous clang-check invocation!"
100 will re-run the last clang-check invocation made from this vim instance
102 automatically when clang-check finds errors, and can be re-opened with
105 Other ``clang-check`` options that can be useful when working with clang
121 …$ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-dump -ast-dump-filter ActionFactor…
122 Processing: tools/clang/tools/clang-check/ClangCheck.cpp.
124clang::ASTConsumer *newASTConsumer() (CompoundStmt 0x44da290 </home/alexfh/local/llvm/tools/clang/…
129 …$ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-print -ast-dump-filter ActionFacto…
130 Processing: tools/clang/tools/clang-check/ClangCheck.cpp.
132 clang::ASTConsumer *newASTConsumer() {
134 return clang::CreateASTDeclNodeLister();
136 return clang::CreateASTDumper(this->ASTDumpFilter);
138 return clang::CreateASTPrinter(&llvm::outs(), this->ASTDumpFilter);
139 return new clang::ASTConsumer();
179 If you want to use clang instead of GCC, you can add
180 ``-DCMAKE_C_COMPILER=/path/to/clang -DCMAKE_CXX_COMPILER=/path/to/clang++``.