Home
last modified time | relevance | path

Searched +full:clang +full:- +full:format (Results 1 – 25 of 788) sorted by relevance

12345678910>>...32

/freebsd/contrib/llvm-project/
H A DFREEBSD-Xlist2 .clang-format
3 .clang-tidy
4 .git-blame-ignore-revs
15 clang/.clang-format
16 clang/.clang-tidy
17 clang/.gitignore
18 clang/CMakeLists.txt
19 clang/CodeOwners.rst
20 clang/INSTALL.txt
21 clang/NOTES.txt
[all …]
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp1 //===-- clang-format/ClangFormat.cpp - Clang format tool ------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file implements a clang-format tool that automatically formats
13 //===----------------------------------------------------------------------===//
15 #include "../../lib/Format/MatchFilePath.h"
16 #include "clang/Basic/Diagnostic.h"
17 #include "clang/Basic/DiagnosticOptions.h"
18 #include "clang/Basic/FileManager.h"
19 #include "clang/Basic/SourceManager.h"
[all …]
/freebsd/contrib/llvm-project/clang/include/
H A Dmodule.modulemap2 umbrella "clang-c"
8 umbrella "clang/Analysis"
10 textual header "clang/Analysis/Analyses/ThreadSafetyOps.def"
15 // library into clang. Due to inline key functions in the headers,
17 // matchers (and thus the AST), which clang-format should not have.
18 exclude header "clang/Analysis/Analyses/ExprMutationAnalyzer.h"
23 umbrella "clang/AST"
25 textual header "clang/AST/BuiltinTypes.def"
26 textual header "clang/AST/CXXRecordDeclDefinitionBits.def"
27 textual header "clang/AST/OperationKinds.def"
[all …]
/freebsd/lib/clang/libclang/
H A DMakefile2 .include "../clang.pre.mk"
4 LIB= clang
6 CFLAGS+= -I${.OBJDIR}
7 CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
8 CFLAGS+= -I${CLANG_SRCS}/lib/Basic
9 CFLAGS+= -I${CLANG_SRCS}/lib/Driver
10 CFLAGS+= -I${CLANG_SRCS}/lib/CodeGen
13 CFLAGS.Targets.cpp+= -include ../freebsd_cc_version.h
17 CXXFLAGS.Module.cpp+= -fpermissive
20 SRCDIR= clang/lib
[all …]
/freebsd/contrib/bc/src/
H A Dprogram.c4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
62 assert(r->t != BC_RESULT_VOID); in bc_program_type_num()
79 if (BC_ERR((r->t != BC_RESULT_ARRAY) != (!t))) bc_err(BC_ERR_EXEC_TYPE); in bc_program_type_match()
86 * see the development manual (manuals/development.md#bytecode-indices).
116 return *((char**) bc_vec_item(&p->strs, n->scale)); in bc_program_string()
134 bc_vec_push(p->globals_v + i, p->globals + i); in bc_program_prepGlobals()
138 bc_rand_push(&p->rng); in bc_program_prepGlobals()
158 BcVec* v = p->globals_v + i; in bc_program_popGlobals()
159 bc_vec_npop(v, reset ? v->len - 1 : 1); in bc_program_popGlobals()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__system_error/
H A Derrc.h1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
117 // Note based on the post-review comments in
118 // https://github.com/llvm/llvm-project/pull/80542 libc++ no longer deprecates
138 // - the enum value is deprecated and should show a diagnostic,
139 // - the macro is deprecated and should _not_ show a diagnostic in this
141 // - the macro is not always available.
188 // clang-format off in _LIBCPP_DECLARE_STRONG_ENUM()
[all …]
/freebsd/contrib/libcbor/.circleci/
H A Dconfig.yml4 linux-setup:
6 - run: sudo apt-get update
8 - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake ${TOOLCHAIN_PACKAGES}
9 - run: sudo NEEDRESTART_MODE=l apt-get install -y libcmocka-de
[all...]
/freebsd/share/mk/
H A Dbsd.sys.mk6 # overridden (e.g. if using a non-gcc compiler) by defining MK_WARNS=no.
8 # for GCC: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
9 # for clang: https://clang.llvm.org/docs/DiagnosticsReference.html
17 CFLAGS+= -std=iso9899:1990
19 CFLAGS+= -std=iso9899:199409
21 CFLAGS+= -std=iso9899:1999
23 CFLAGS+= -std=${CSTD}
27 CXXFLAGS+= -std=${CXXSTD}
30 # This gives the Makefile we're evaluating at the top-level a chance to set
38 # -pedantic is problematic because it also imposes namespace restrictions
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp1 //===--- ASTConsumers.cpp - ASTConsumer implementations -------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
13 #include "clang/Frontend/ASTConsumers.h"
14 #include "clang/AST/AST.h"
15 #include "clang/AST/ASTConsumer.h"
16 #include "clang/AST/ASTContext.h"
17 #include "clang/AST/PrettyPrinter.h"
18 #include "clang/AST/RecordLayout.h"
[all …]
H A DInterfaceStubFunctionsConsumer.cpp1 //===--- InterfaceStubFunctionsConsumer.cpp -------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "clang/AST/Mangle.h"
10 #include "clang/AST/RecursiveASTVisitor.h"
11 #include "clang/Basic/TargetInfo.h"
12 #include "clang/Frontend/CompilerInstance.h"
13 #include "clang/Frontend/FrontendActions.h"
14 #include "clang/Sema/TemplateInstCallback.h"
17 using namespace clang;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningService.h1 //===- DependencyScanningService.h - clang-scan-deps service ===-*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h"
15 namespace clang {
32 /// The format that is output by the dependency scanner.
34 /// This is the Makefile compatible dep format. This will include all of the
39 /// This outputs the full clang module dependency graph suitable for use for
44 /// format.
49 LLVM_MARK_AS_BITMASK_ENUM(Id), All = llvm::NextPowerOf2(Id) - 1
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp1 //===--- AtomicChange.cpp - AtomicChange implementation ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #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) in NormalizedAtomicChange()
36 clang::tooling::AtomicChange denormalize(const llvm::yaml::IO &) { in denormalize()
45 std::vector<clang::tooling::Replacement> Replaces;
67 template <> struct MappingTraits<clang::tooling::AtomicChange> {
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DAtomicChange.h1 //===--- AtomicChange.h - AtomicChange class --------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
17 #include "clang/Basic/SourceManager.h"
18 #include "clang/Format/Format.h"
19 #include "clang/Tooling/Core/Replacement.h"
24 namespace clang {
63 /// Converts a YAML-encoded automic change to AtomicChange.
77 void setError(llvm::StringRef Error) { this->Error = std::string(Error); } in setError()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatInternal.h1 //===--- FormatInternal.h - Format C++ code ---------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file declares Format APIs to be used internally by the
13 //===----------------------------------------------------------------------===//
18 #include "clang/Basic/LLVM.h"
19 #include "clang/Format/Format.h"
20 #include "clang/Tooling/Core/Replacement.h"
23 namespace clang {
24 namespace format {
[all …]
H A DTokenAnalyzer.cpp1 //===--- TokenAnalyzer.cpp - Analyze Token Streams --------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 /// an annotated and pre-processed token stream.
14 //===----------------------------------------------------------------------===//
23 #include "clang/Basic/Diagnostic.h"
24 #include "clang/Basic/DiagnosticOptions.h"
25 #include "clang/Basic/FileManager.h"
26 #include "clang/Basic/SourceManager.h"
27 #include "clang/Format/Format.h"
[all …]
H A DSortJavaScriptImports.h1 //===--- SortJavaScriptImports.h - Sort ES6 Imports -------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
17 #include "clang/Format/Format.h"
19 namespace clang {
20 namespace format {
29 } // end namespace format
30 } // end namespace clang
H A DMacroExpander.cpp1 //===--- MacroExpander.cpp - Format C++ code --------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
20 #include "clang/Basic/TokenKinds.h"
21 #include "clang/Format/Format.h"
22 #include "clang/Lex/HeaderSearch.h"
23 #include "clang/Lex/HeaderSearchOptions.h"
24 #include "clang/Lex/Lexer.h"
25 #include "clang/Lex/ModuleLoader.h"
[all …]
/freebsd/usr.bin/clang/clang-format/
H A DMakefile1 PROG_CXX= clang-format
4 SRCDIR= clang/tools/clang-format
7 .include "../clang.prog.mk"
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp1 //===- FileList.cpp ---------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "clang/InstallAPI/FileList.h"
10 #include "clang/Basic/DiagnosticFrontend.h"
11 #include "clang/InstallAPI/FileList.h"
18 // clang-format off
20 InstallAPI JSON Input Format specification.
25 "path" : "/usr/include/mach-o/dlfn.h", # Required: Path should point to destination
35 // clang-format on
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h1 //===-- PCHContainerOperations.h - PCH Containers ---------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "clang/Basic/Module.h"
22 namespace clang {
34 /// containers for serialized ASTs (precompiled headers and clang
42 /// PCHGenerator that produces a wrapper file format containing a
53 /// containers for serialized ASTs (precompiled headers and clang
58 /// Equivalent to the format passed to -fmodule-format=
65 /// Implements write operations for a raw pass-through PCH container.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp1 //===--- DiagnosticIDs.cpp - Diagnostic IDs Handling ----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements the Diagnostic IDs-related interfaces.
11 //===----------------------------------------------------------------------===//
13 #include "clang/Basic/DiagnosticIDs.h"
14 #include "clang/Basic/AllDiagnostics.h"
15 #include "clang/Basic/DiagnosticCategories.h"
16 #include "clang/Basic/SourceManager.h"
22 using namespace clang;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTConsumers.h1 //===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
16 #include "clang/AST/ASTDumperUtils.h"
17 #include "clang/Basic/LLVM.h"
20 namespace clang {
24 // AST pretty-printer: prints out the AST in a format that is close to the
25 // original C code. The output is intended to be in a format such that
26 // clang could re-parse the output back into the same AST, but the
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp1 //= ScanfFormatString.cpp - Analysis of printf format strings --*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Handling of format string in scanf and friends. The structure of format
12 //===----------------------------------------------------------------------===//
14 #include "clang/AST/FormatString.h"
16 #include "clang/Basic/TargetInfo.h"
18 using clang::analyze_format_string::ArgType;
19 using clang::analyze_format_string::FormatStringHandler;
20 using clang::analyze_format_string::LengthModifier;
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp1 //===- DependencyScanningWorker.cpp - clang-scan-deps worker --------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "clang/Tooling/DependencyScanning/DependencyScanningWorker.h"
10 #include "clang/Basic/DiagnosticDriver.h"
11 #include "clang/Basic/DiagnosticFrontend.h"
12 #include "clang/Basic/DiagnosticSerialization.h"
13 #include "clang/CodeGen/ObjectFilePCHContainerOperations.h"
14 #include "clang/Driver/Compilation.h"
15 #include "clang/Driver/Driver.h"
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/
H A Daarch64.c1 //===-- cpu_model/aarch64.c - Support for __cpu_model builtin ----*- C -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
18 #error This file is intended only for aarch64-based targets
31 // LSE support detection for out-of-line atomics
37 // clang-format off: should not reorder sys/auxv.h alphabetically
39 // clang-format on
64 // The formatter wants to re-order these includes, but doing so is incorrect:
65 // clang-format off
[all …]

12345678910>>...32