Home
last modified time | relevance | path

Searched refs:Clang (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDChainedIncludesSource.cpp147 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource() local
149 Clang->setInvocation(std::move(CInvok)); in createChainedIncludesSource()
150 Clang->setDiagnostics(Diags.get()); in createChainedIncludesSource()
151 Clang->setTarget(TargetInfo::CreateTargetInfo( in createChainedIncludesSource()
152 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
153 Clang->createFileManager(); in createChainedIncludesSource()
154 Clang->createSourceManager(Clang->getFileManager()); in createChainedIncludesSource()
155 Clang->createPreprocessor(TU_Prefix); in createChainedIncludesSource()
156 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(), in createChainedIncludesSource()
157 &Clang->getPreprocessor()); in createChainedIncludesSource()
[all …]
HDPrecompiledPreamble.cpp280 std::unique_ptr<CompilerInstance> Clang( in Build() local
285 Clang.get()); in Build()
287 Clang->setInvocation(std::move(PreambleInvocation)); in Build()
288 Clang->setDiagnostics(&Diagnostics); in Build()
291 Clang->setTarget(TargetInfo::CreateTargetInfo( in Build()
292 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Build()
293 if (!Clang->hasTarget()) in Build()
300 Clang->getTarget().adjust(Clang->getLangOpts()); in Build()
302 if (Clang->getFrontendOpts().Inputs.size() != 1 || in Build()
303 Clang->getFrontendOpts().Inputs[0].getKind().getFormat() != in Build()
[all …]
HDASTUnit.cpp1118 std::unique_ptr<CompilerInstance> Clang( in Parse() local
1125 Clang->setFileManager(&*FileMgr); in Parse()
1127 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse()
1131 CICleanup(Clang.get()); in Parse()
1133 Clang->setInvocation(CCInvocation); in Parse()
1134 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in Parse()
1138 Clang->setDiagnostics(&getDiagnostics()); in Parse()
1141 Clang->setTarget(TargetInfo::CreateTargetInfo( in Parse()
1142 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse()
1143 if (!Clang->hasTarget()) in Parse()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/tools/driver/
HDcc1_main.cpp187 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in cc1_main() local
191 auto PCHOps = Clang->getPCHContainerOperations(); in cc1_main()
207 CompilerInvocation::CreateFromArgs(Clang->getInvocation(), Argv, Diags); in cc1_main()
209 if (Clang->getFrontendOpts().TimeTrace) { in cc1_main()
211 Clang->getFrontendOpts().TimeTraceGranularity, Argv0); in cc1_main()
214 if (Clang->getFrontendOpts().PrintSupportedCPUs) in cc1_main()
215 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main()
218 if (Clang->getHeaderSearchOpts().UseBuiltinIncludes && in cc1_main()
219 Clang->getHeaderSearchOpts().ResourceDir.empty()) in cc1_main()
220 Clang->getHeaderSearchOpts().ResourceDir = in cc1_main()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/FrontendTool/
HDExecuteCompilerInvocation.cpp185 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
187 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
199 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
206 e = Clang->getFrontendOpts().Plugins.size(); i != e; ++i) { in ExecuteCompilerInvocation()
207 const std::string &Path = Clang->getFrontendOpts().Plugins[i]; in ExecuteCompilerInvocation()
210 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
220 Clang->getFrontendOpts().ProgramAction = clang::frontend::PluginAction; in ExecuteCompilerInvocation()
221 Clang->getFrontendOpts().ActionName = it->getName(); in ExecuteCompilerInvocation()
230 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
231 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDAttr.td268 // The Clang spelling implies GNU<name>, CXX11<"clang", name>, and optionally,
269 // C2x<"clang", name>. This spelling should be used for any Clang-specific
271 class Clang<string name, bit allowInC = 1> : Spelling<name, "Clang"> {
592 let Spellings = [Clang<"address_space">];
605 let Spellings = [Clang<"__clang_arm_mve_alias">];
663 let Spellings = [Clang<"xray_always_instrument">,
664 Clang<"xray_never_instrument">];
667 [Clang<"xray_always_instrument">]>,
669 [Clang<"xray_never_instrument">]>];
674 let Spellings = [Clang<"xray_log_args">];
[all …]
HDDiagnosticDocs.td69 Diagnostic flags in Clang
77 This page lists the diagnostic flags currently supported by Clang.
HDAttrDocs.td35 Attributes in Clang
47 This page lists the attributes currently supported by Clang.
128 In Clang, ``__declspec(thread)`` is generally equivalent in functionality to the
696 ``pass_object_size``. Clang will also replace any calls to
778 Clang also supports the ``pass_dynamic_object_size`` attribute, which behaves
792 Clang provides support for C++ function overloading in C. Function overloading
871 * Future versions of Clang may change the name mangling of functions overloaded
957 they are used by the Clang Static Analyzer.
964 they are used by the Clang Static Analyzer.
990 These attributes are only used by the Clang Static Analyzer.
[all …]
HDDiagnosticOptions.h65 enum TextDiagnosticFormat { Clang, MSVC, Vi }; enumerator
HDOpenCLExtensions.def77 // Clang Extensions.
/freebsd-11-stable/share/doc/psd/06.Clang/
HDMakefile4 VOLUME= psd/06.Clang
5 SRCS= Clang.ms
/freebsd-11-stable/lib/clang/liblldb/
HDMakefile314 SRCS+= Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
315 SRCS+= Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
316 SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp
317 SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp
318 SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
319 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
320 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
321 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
322 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
323 SRCS+= Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
HDClang.h28 class LLVM_LIBRARY_VISIBILITY Clang : public Tool {
103 Clang(const ToolChain &TC);
104 ~Clang() override;
HDClang.cpp1093 void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA, in AddPreprocessingOptions()
1550 void Clang::AddARMTargetArgs(const llvm::Triple &Triple, const ArgList &Args, in AddARMTargetArgs()
1591 void Clang::RenderTargetOptions(const llvm::Triple &EffectiveTriple, in RenderTargetOptions()
1684 void Clang::AddAArch64TargetArgs(const ArgList &Args, in AddAArch64TargetArgs()
1759 void Clang::AddMIPSTargetArgs(const ArgList &Args, in AddMIPSTargetArgs()
1902 void Clang::AddPPCTargetArgs(const ArgList &Args, in AddPPCTargetArgs()
1973 void Clang::AddRISCVTargetArgs(const ArgList &Args, in AddRISCVTargetArgs()
1982 void Clang::AddSparcTargetArgs(const ArgList &Args, in AddSparcTargetArgs()
2000 void Clang::AddSystemZTargetArgs(const ArgList &Args, in AddSystemZTargetArgs()
2066 void Clang::AddX86TargetArgs(const ArgList &Args, in AddX86TargetArgs()
[all …]
/freebsd-11-stable/release/packages/
HDMakefile.package25 clang_COMMENT= Clang Utilities
26 clang_DESC= Clang Utilities
/freebsd-11-stable/contrib/llvm-project/lld/docs/
HDgetting_started.rst21 * `Clang 3.1`_\+ or GCC 4.7+ (C++11 support is required).
23 * If using Clang, you will also need `libc++`_.
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/FrontendTool/
HDUtils.h34 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/freebsd-11-stable/share/doc/psd/
HDMakefile21 06.Clang \
/freebsd-11-stable/contrib/unbound/
HDREADME-Travis.md3 …vis CI to increase coverage of compilers and platforms. Compilers include Clang and GCC; while pla…
13 A typical recipe tests Clang and GCC on various hardware. The hardware includes AMD64, Aarch64, Pow…
22 name: Clang on Linux, Aarch64
28 OS X provides a single recipe to test Clang. GCC is not tested because GCC is an alias for Clang.
32 Two sanitizer builds are tested using Clang and GCC, for a total of four builds. The first sanitize…
44 name: UBsan, Clang on Linux, Amd64
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Driver/
HDClangOptionDocs.td17 Clang command line argument reference
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDX86TargetParser.def37 // compilert-rt. Clang uses this to know how to implement __builtin_cpu_is.
85 // compilert-rt. Clang uses this to know how to implement __builtin_cpu_is.
/freebsd-11-stable/share/mk/
HDbsd.clang-analyze.mk34 .error Clang static analyzer requires clang but found that compiler '${CC}' is ${COMPILER_TYPE}
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
HDToolChain.cpp254 if (!Clang) in getClang()
255 Clang.reset(new tools::Clang(*this)); in getClang()
256 return Clang.get(); in getClang()
/freebsd-11-stable/
HDUPDATING32 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
38 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
60 Clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp have
72 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
113 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
142 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
166 Clang, llvm, lld, lldb, compiler-rt and libc++ have been upgraded to
199 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 5.0.0.
260 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 4.0.0.
280 Clang, llvm, lldb, compiler-rt and libc++ have been upgraded to 3.9.1.
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDknown_gcc_test_failures.txt30 # Error in the program / unsupported by Clang.

123