Searched +refs:clang +refs:format +refs:replace (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DAtomicChange.h17 #include "clang/Basic/SourceManager.h"
18 #include "clang/Format/Format.h"
19 #include "clang/Tooling/Core/Replacement.h"
24 namespace clang { namespace
88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range,
94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc,
100 /// \p InsertAfter. Users should use `replace` with `Length=0` instead if they
135 clang::tooling::Replacements Replaces);
157 // clang-format'
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp9 #include "clang/Tooling/Refactoring/AtomicChange.h"
10 #include "clang/Tooling/ReplacementsYaml.h"
14 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::AtomicChange)
29 const clang::tooling::AtomicChange &E)
36 clang::tooling::AtomicChange denormalize(const llvm::yaml::IO &) {
45 std::vector<clang::tooling::Replacement> Replaces;
67 template <> struct MappingTraits<clang::tooling::AtomicChange> {
68 static void mapping(IO &Io, clang::tooling::AtomicChange &Doc) {
69 MappingNormalization<NormalizedAtomicChange, clang::tooling::AtomicChange>
83 namespace clang { namespace
258 llvm::Error AtomicChange::replace(const SourceManager &SM, function in class:clang::tooling::AtomicChange
264 llvm::Error AtomicChange::replace(const SourceManager &SM, SourceLocation Loc, function in class:clang::tooling::AtomicChange
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/utils/
H A Dupdate_cc_test_checks.py6 // RUN: %clang -emit-llvm -S %s -o - -O2 | FileCheck %s
12 % utils/update_cc_test_checks.py --clang=release/bin/clang /tmp/c/a.cc
31 '%clang': [],
38 # Use clang's JSON AST dump to get the mangled name
39 json_dump_args = [args.clang] + clang_args + ['-fsyntax-only', '-o', '-']
41 # For tests that invoke %clang instead if %clang_cc1 we have to use
56 # Parse the clang JSON and add all children of type FunctionDecl.
99 common.error('Clang AST dump JSON format changed?')
104 common.debug('line {}: found function {}'.format(lin
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/utils/lit/lit/llvm/
H A Dconfig.py46 self.lit_config.note("using lit tools: {}".format(path))
246 def get_clang_builtin_include_dir(self, clang):
247 # FIXME: Rather than just getting the version, we should have clang
250 [clang, '-print-file-name=include'])
253 print(clang)
255 "Couldn't find the include dir for Clang ('%s')" % clang)
260 clang_dir = clang_dir.replace('\\', '/')
264 # On macOS, LSan is only supported on clang versions 5 and higher
265 def get_clang_has_lsan(self, clang, triple):
266 if not clang
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build-py/libscanbuild/
H A Dreport.py21 from libscanbuild.clang import get_version
88 | </head>""", indent).format(html_title=args.html_title))
99 | </table>""", indent).format(html_title=args.html_title,
104 clang_version=get_version(args.clang),
143 | </tr>""", indent).format(bug_counter.total))
148 | </tr>""", indent).format(category))
160 | </tr>""", indent).format(**bug_type))
206 | </tr>""", indent).format(**current))
244 | </tr>""", indent).format(**current))
273 lambda bug: '{bug_line}.{bug_path_length}:{bug_file}'.format(**bu
[all...]
H A Danalyze.py36 from libscanbuild.clang import get_version, get_arguments, get_triple_arch, \
221 'clang': args.clang,
286 'ANALYZE_BUILD_CLANG': args.clang if need_analyzer(args.build) else '',
317 'clang': os.getenv('ANALYZE_BUILD_CLANG'),
360 # 'scan-view' currently does not support sarif format.
386 result.append('-analyzer-store={0}'.format(args.store_model))
388 result.append('-analyzer-constraints={0}'.format(
399 result.append('-analyzer-output={0}'.format(args.output_format))
427 raise KeyError('{0} not passed to {1}'.format(
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Driver/
H A DDriver.cpp9 #include "clang/Driver/Driver.h"
51 #include "clang/Basic/TargetID.h"
52 #include "clang/Basic/Version.h"
53 #include "clang/Config/config.h"
54 #include "clang/Driver/Action.h"
55 #include "clang/Driver/Compilation.h"
56 #include "clang/Driver/DriverDiagnostic.h"
57 #include "clang/Driver/Job.h"
58 #include "clang/Driver/Options.h"
59 #include "clang/Drive
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp13 #include "clang/AST/DeclCXX.h"
14 #include "clang/AST/ASTContext.h"
15 #include "clang/AST/ASTLambda.h"
16 #include "clang/AST/ASTMutationListener.h"
17 #include "clang/AST/ASTUnresolvedSet.h"
18 #include "clang/AST/Attr.h"
19 #include "clang/AST/CXXInheritance.h"
20 #include "clang/AST/DeclBase.h"
21 #include "clang/AST/DeclTemplate.h"
22 #include "clang/AS
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/
H A Dconfigure4085 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4086 set dummy ${ac_tool_prefix}clang; ac_word=$2
4102 ac_cv_prog_CC="${ac_tool_prefix}clang"
4125 # Extract the first word of "clang", so it can be a program name with args.
4126 set dummy clang; ac_word=$2
4142 ac_cv_prog_ac_ct_CC="clang"
4646 test_varargs (const char *format, ...)
4649 va_start (args, format);
4657 while (*format)
4659 switch (*format
[all...]
/netbsd-current/external/gpl3/gdb/dist/gnulib/
H A Dconfigure4406 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4407 set dummy ${ac_tool_prefix}clang; ac_word=$2
4423 ac_cv_prog_CC="${ac_tool_prefix}clang"
4446 # Extract the first word of "clang", so it can be a program name with args.
4447 set dummy clang; ac_word=$2
4463 ac_cv_prog_ac_ct_CC="clang"
4967 test_varargs (const char *format, ...)
4970 va_start (args, format);
4978 while (*format)
4980 switch (*format
[all...]

Completed in 160 milliseconds