Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp56 if (!Clang.hasDiagnostics()) in createMissingComponents()
57 Clang.createDiagnostics(); in createMissingComponents()
58 if (!Clang.hasFileManager()) in createMissingComponents()
61 Clang.createSourceManager(Clang.getFileManager()); in createMissingComponents()
62 if (!Clang.hasTarget()) in createMissingComponents()
63 Clang.createTarget(); in createMissingComponents()
68 if (!Clang.hasASTContext()) in createMissingComponents()
69 Clang.createASTContext(); in createMissingComponents()
70 if (!Clang.hasSema()) in createMissingComponents()
150 Clang.reset(); in clear()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp233 auto PCHOps = Clang->getPCHContainerOperations(); in cc1_main()
262 if (Clang->getFrontendOpts().PrintSupportedCPUs) in cc1_main()
272 Clang->getHeaderSearchOpts().ResourceDir = in cc1_main()
276 Clang->createDiagnostics(); in cc1_main()
277 if (!Clang->hasDiagnostics()) in cc1_main()
287 Clang->getDiagnosticClient().finish(); in cc1_main()
311 if (!Clang->hasFileManager()) in cc1_main()
313 Clang->getInvocation(), Clang->getDiagnostics())); in cc1_main()
322 Clang->clearOutputFiles(false); in cc1_main()
332 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp128 Clang->setDiagnostics(Diags.get()); in createChainedIncludesSource()
130 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
131 Clang->createFileManager(); in createChainedIncludesSource()
132 Clang->createSourceManager(Clang->getFileManager()); in createChainedIncludesSource()
133 Clang->createPreprocessor(TU_Prefix); in createChainedIncludesSource()
134 Clang->getDiagnosticClient().BeginSourceFile(Clang->getLangOpts(), in createChainedIncludesSource()
136 Clang->createASTContext(); in createChainedIncludesSource()
141 Clang->getPreprocessor(), Clang->getModuleCache(), "-", /*isysroot=*/"", in createChainedIncludesSource()
170 Clang->setASTReader(Reader); in createChainedIncludesSource()
177 ParseAST(Clang->getSema()); in createChainedIncludesSource()
[all …]
H A DPrecompiledPreamble.cpp457 std::unique_ptr<CompilerInstance> Clang( in Build() local
462 Clang.get()); in Build()
465 Clang->setDiagnostics(&Diagnostics); in Build()
468 if (!Clang->createTarget()) in Build()
487 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
490 Clang->setSourceManager( in Build()
516 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Build()
521 Callbacks.BeforeExecute(*Clang); in Build()
533 Clang->getSourceManager())); in Build()
539 Callbacks.AfterExecute(*Clang); in Build()
[all …]
H A DASTUnit.cpp1177 CICleanup(Clang.get()); in Parse()
1187 if (!Clang->createTarget()) in Parse()
1236 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Parse()
1587 CICleanup(Clang.get()); in LoadFromCompilerInvocationAction()
1598 if (!Clang->createTarget()) in LoadFromCompilerInvocationAction()
1634 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) { in LoadFromCompilerInvocationAction()
1651 Clang->setASTConsumer( in LoadFromCompilerInvocationAction()
2215 CICleanup(Clang.get()); in CodeComplete()
2223 Clang->setDiagnostics(&Diag); in CodeComplete()
2230 if (!Clang->createTarget()) { in CodeComplete()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp200 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
212 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
217 Clang->LoadRequestedPlugins(); in ExecuteCompilerInvocation()
223 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
236 AnalyzerOptions &AnOpts = Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation()
241 ento::printCheckerHelp(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
248 ento::printCheckerConfigList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
254 ento::printEnabledCheckerList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
266 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
272 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Testing/
H A DTestAST.h83 ASTContext &context() { return Clang->getASTContext(); } in context()
84 Sema &sema() { return Clang->getSema(); } in sema()
85 SourceManager &sourceManager() { return Clang->getSourceManager(); } in sourceManager()
86 FileManager &fileManager() { return Clang->getFileManager(); } in fileManager()
87 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor()
97 std::unique_ptr<CompilerInstance> Clang; variable
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td878 let Spellings = [Clang<"annotate">];
1034 let Spellings = [Clang<"blocks">];
1568 let Spellings = [Clang<"nomerge">];
1575 let Spellings = [Clang<"musttail">];
1603 let Spellings = [Clang<"minsize">];
2463 let Spellings = [Clang<"optnone">];
2485 let Spellings = [Clang<"ownership_holds">, Clang<"ownership_returns">,
2722 let Spellings = [Clang<"noderef">];
3133 let Spellings = [Clang<"objc_gc">];
3403 let Spellings = [Clang<"capability", 0>, Clang<"shared_capability", 0>];
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp79 auto PCHOps = Clang->getPCHContainerOperations(); in CreateCI()
94 Clang->getHeaderSearchOpts().ResourceDir = in CreateCI()
98 Clang->createDiagnostics(); in CreateCI()
99 if (!Clang->hasDiagnostics()) in CreateCI()
114 Clang->setTarget(TargetInfo::CreateTargetInfo( in CreateCI()
115 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
116 if (!Clang->hasTarget()) in CreateCI()
121 Clang->getTarget().adjust(Clang->getDiagnostics(), Clang->getLangOpts()); in CreateCI()
127 Clang->getFrontendOpts().DisableFree = false; in CreateCI()
128 Clang->getCodeGenOpts().DisableFree = false; in CreateCI()
[all …]
/freebsd-14.2/share/doc/psd/06.Clang/
H A DMakefile3 VOLUME= psd/06.Clang
4 SRCS= Clang.ms
/freebsd-14.2/contrib/tcpdump/doc/
H A DREADME.solaris.md9 * GCC 11.2.0 and Clang 14.0.3 work.
15 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
31 * GCC 11.2 and Clang 11.0 work.
H A DREADME.haiku.md9 * Clang 12.0.1 works with the latest llvm12_clang-12.0.1-5 version.
25 * Clang does not work.
/freebsd-14.2/contrib/libpcap/doc/
H A DREADME.solaris.md12 * GCC 11.2.0 and Clang 14.0.3 work.
18 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
37 * Clang 11.0 works, GCC 11.2 works.
H A DREADME.haiku.md30 * Clang 12.0.1 works with the latest llvm12_clang-12.0.1-5 version.
47 * Clang does not work.
/freebsd-14.2/lib/clang/liblldb/
H A DMakefile358 SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp
359 SRCS+= Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
360 SRCS+= Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp
361 SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp
362 SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
371 SRCS+= Plugins/ExpressionParser/Clang/ClangHost.cpp
375 SRCS+= Plugins/ExpressionParser/Clang/ClangUtil.cpp
378 SRCS+= Plugins/ExpressionParser/Clang/CxxModuleHandler.cpp
379 SRCS+= Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
380 SRCS+= Plugins/ExpressionParser/Clang/IRForTarget.cpp
[all …]
/freebsd-14.2/contrib/unbound/
H A Dax_pthread.m4209 # Are we compiling with Clang?
211 AC_CACHE_CHECK([whether $CC is Clang],
214 # Note that Autoconf sets GCC=yes for Clang as well as GCC
217 [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
230 # Note that for GCC and Clang -pthread generally implies -lpthread,
241 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
349 # Clang needs special handling, because older versions handle the -pthread
354 # Clang takes -pthread; it has never supported any other flag
356 # (Note 1: This will need to be revisited if a system that Clang
366 # However, older versions of Clang make a point of warning the user
[all …]
/freebsd-14.2/sys/contrib/libsodium/m4/
H A Dax_pthread.m4227 # Are we compiling with Clang?
229 AC_CACHE_CHECK([whether $CC is Clang],
232 # Note that Autoconf sets GCC=yes for Clang as well as GCC
235 [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
247 # Clang needs special handling, because older versions handle the -pthread
252 # Clang takes -pthread; it has never supported any other flag
254 # (Note 1: This will need to be revisited if a system that Clang
269 # However, older versions of Clang make a point of warning the user
285 # that build with -Werror. So if the active version of Clang has
288 …AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -p…
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.h28 class LLVM_LIBRARY_VISIBILITY Clang : public Tool {
106 Clang(const ToolChain &TC, bool HasIntegratedBackend = true);
107 ~Clang() override;
/freebsd-14.2/contrib/ntp/sntp/libevent/cmake/
H A DCodeCoverage.cmake30 # - Added support for Clang.
75 # Clang version 3.0.0 and greater now supports gcov as well.
76 …MESSAGE(WARNING "Compiler is not GNU gcc! Clang Version 3.0.0 and greater supports gcov as well, b…
78 IF(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
/freebsd-14.2/contrib/libevent/cmake/
H A DCodeCoverage.cmake30 # - Added support for Clang.
75 # Clang version 3.0.0 and greater now supports gcov as well.
76 …MESSAGE(WARNING "Compiler is not GNU gcc! Clang Version 3.0.0 and greater supports gcov as well, b…
78 IF(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
/freebsd-14.2/tools/build/options/
H A DWITH_CLANG1 Build the Clang C/C++ compiler during the normal phase of the build.
H A DWITH_CLANG_BOOTSTRAP1 Build the Clang C/C++ compiler during the bootstrap phase of the build.
H A DWITH_CLANG_FULL2 Clang C/C++ compiler.
H A DWITHOUT_CLANG_FULL2 the Clang C/C++ compiler.
H A DWITHOUT_CLANG1 Do not build the Clang C/C++ compiler during the regular phase of the build.

12345