/freebsd/contrib/llvm-project/clang/lib/Testing/ |
H A D | TestAST.cpp | 56 void createMissingComponents(CompilerInstance &Clang) { in createMissingComponents() argument 57 if (!Clang.hasDiagnostics()) in createMissingComponents() 58 Clang.createDiagnostics(); in createMissingComponents() 59 if (!Clang.hasFileManager()) in createMissingComponents() 60 Clang.createFileManager(); in createMissingComponents() 61 if (!Clang.hasSourceManager()) in createMissingComponents() 62 Clang.createSourceManager(Clang.getFileManager()); in createMissingComponents() 63 if (!Clang.hasTarget()) in createMissingComponents() 64 Clang.createTarget(); in createMissingComponents() 65 if (!Clang.hasPreprocessor()) in createMissingComponents() [all …]
|
/freebsd/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1_main.cpp | 214 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in cc1_main() local 218 auto PCHOps = Clang->getPCHContainerOperations(); in cc1_main() 239 bool Success = CompilerInvocation::CreateFromArgs(Clang->getInvocation(), in cc1_main() 242 if (!Clang->getFrontendOpts().TimeTracePath.empty()) { in cc1_main() 244 Clang->getFrontendOpts().TimeTraceGranularity, Argv0, in cc1_main() 245 Clang->getFrontendOpts().TimeTraceVerbose); in cc1_main() 248 if (Clang->getFrontendOpts().PrintSupportedCPUs) in cc1_main() 249 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main() 252 if (Clang->getFrontendOpts().PrintSupportedExtensions) in cc1_main() 253 return PrintSupportedExtensions(Clang->getTargetOpts().Triple); in cc1_main() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ChainedIncludesSource.cpp | 125 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource() local 127 Clang->setInvocation(std::move(CInvok)); in createChainedIncludesSource() 128 Clang->setDiagnostics(Diags.get()); in createChainedIncludesSource() 129 Clang->setTarget(TargetInfo::CreateTargetInfo( 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() 135 &Clang->getPreprocessor()); in createChainedIncludesSource() [all …]
|
H A D | PrecompiledPreamble.cpp | 458 std::unique_ptr<CompilerInstance> Clang( in Build() local 463 Clang.get()); in Build() 465 Clang->setInvocation(std::move(PreambleInvocation)); in Build() 466 Clang->setDiagnostics(&Diagnostics); in Build() 469 if (!Clang->createTarget()) in Build() 472 if (Clang->getFrontendOpts().Inputs.size() != 1 || in Build() 473 Clang->getFrontendOpts().Inputs[0].getKind().getFormat() != in Build() 475 Clang->getFrontendOpts().Inputs[0].getKind().getLanguage() == in Build() 482 ProcessWarningOptions(Diagnostics, Clang->getDiagnosticOpts()); in Build() 485 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build() [all …]
|
H A D | ASTUnit.cpp | 1162 std::unique_ptr<CompilerInstance> Clang( in Parse() local 1164 Clang->setInvocation(CCInvocation); in Parse() 1173 transferASTDataFromCompilerInstance(*Clang); in Parse() 1183 Clang->setFileManager(&*FileMgr); in Parse() 1185 FileMgr = Clang->createFileManager(std::move(VFS)); in Parse() 1189 CICleanup(Clang.get()); in Parse() 1192 std::string(Clang->getFrontendOpts().Inputs[0].getFile()); in Parse() 1196 Clang->setDiagnostics(&getDiagnostics()); in Parse() 1199 if (!Clang->createTarget()) in Parse() 1202 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/ |
H A D | ExecuteCompilerInvocation.cpp | 206 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument 208 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation() 220 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation() 225 Clang->LoadRequestedPlugins(); in ExecuteCompilerInvocation() 231 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation() 232 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation() 236 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation() 244 AnalyzerOptions &AnOpts = Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation() 249 ento::printCheckerHelp(llvm::outs(), *Clang); in ExecuteCompilerInvocation() 256 ento::printCheckerConfigList(llvm::outs(), *Clang); in ExecuteCompilerInvocation() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Testing/ |
H A D | TestAST.h | 87 ASTContext &context() { return Clang->getASTContext(); } in context() 88 Sema &sema() { return Clang->getSema(); } in sema() 89 SourceManager &sourceManager() { return Clang->getSourceManager(); } in sourceManager() 90 FileManager &fileManager() { return Clang->getFileManager(); } in fileManager() 91 Preprocessor &preprocessor() { return Clang->getPreprocessor(); } in preprocessor() 101 std::unique_ptr<CompilerInstance> Clang; variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 26 This section lists attributes which are recognized by Clang, but which are 369 // The Clang spelling implies GNU<name>, CXX11<"clang", name>, and optionally, 370 // C23<"clang", name>. This spelling should be used for any Clang-specific 372 class Clang<string name, bit allowInC = 1, int version = 1> 373 : Spelling<name, "Clang", version> { 788 let Spellings = [Clang<"address_space">]; 810 let Spellings = [Clang<"__clang_arm_builtin_alias">]; 880 let Spellings = [Clang<"xray_always_instrument">, 881 Clang<"xray_never_instrument">]; 884 [Clang<"xray_always_instrument">]>, [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 80 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI() local 85 auto PCHOps = Clang->getPCHContainerOperations(); in CreateCI() 95 Clang->getInvocation(), llvm::ArrayRef(Argv.begin(), Argv.size()), Diags); in CreateCI() 98 if (Clang->getHeaderSearchOpts().UseBuiltinIncludes && in CreateCI() 99 Clang->getHeaderSearchOpts().ResourceDir.empty()) in CreateCI() 100 Clang->getHeaderSearchOpts().ResourceDir = in CreateCI() 104 Clang->createDiagnostics(); in CreateCI() 105 if (!Clang->hasDiagnostics()) in CreateCI() 110 DiagsBuffer->FlushDiagnostics(Clang->getDiagnostics()); in CreateCI() 118 Clang->getPreprocessorOpts().addRemappedFile("<<< inputs >>>", MB); in CreateCI() [all …]
|
/freebsd/contrib/tcpdump/doc/ |
H A D | README.solaris.md | 9 * 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 D | README.haiku.md | 9 * Clang 12.0.1 works with the latest llvm12_clang-12.0.1-5 version. 25 * Clang does not work.
|
/freebsd/share/doc/psd/06.Clang/ |
H A D | Makefile | 1 VOLUME= psd/06.Clang 2 SRCS= Clang.ms
|
/freebsd/lib/clang/liblldb/ |
H A D | Makefile | 363 SRCS+= Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp 364 SRCS+= Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp 365 SRCS+= Plugins/ExpressionParser/Clang/ASTUtils.cpp 366 SRCS+= Plugins/ExpressionParser/Clang/ClangASTImporter.cpp 367 SRCS+= Plugins/ExpressionParser/Clang/ClangASTMetadata.cpp 368 SRCS+= Plugins/ExpressionParser/Clang/ClangASTSource.cpp 369 SRCS+= Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp 370 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp 371 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionHelper.cpp 372 SRCS+= Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp [all …]
|
/freebsd/contrib/libpcap/doc/ |
H A D | README.solaris.md | 12 * 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 D | README.haiku.md | 30 * Clang 12.0.1 works with the latest llvm12_clang-12.0.1-5 version. 47 * Clang does not work.
|
/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | ClangOptionDocs.td | 17 Clang command line argument reference 30 string Program = "Clang";
|
/freebsd/contrib/unbound/ |
H A D | ax_pthread.m4 | 209 # 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/sys/contrib/libsodium/m4/ |
H A D | ax_pthread.m4 | 227 # 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/contrib/ntp/sntp/libevent/cmake/ |
H A D | CodeCoverage.cmake | 30 # - 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/contrib/libevent/cmake/ |
H A D | CodeCoverage.cmake | 30 # - 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/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Clang.h | 28 class LLVM_LIBRARY_VISIBILITY Clang : public Tool { 106 Clang(const ToolChain &TC, bool HasIntegratedBackend = true); 107 ~Clang() override;
|
/freebsd/tools/build/options/ |
H A D | WITH_CLANG_FULL | 2 Clang C/C++ compiler.
|
H A D | WITH_CLANG | 1 Build the Clang C/C++ compiler during the normal phase of the build.
|
H A D | WITH_CLANG_BOOTSTRAP | 1 Build the Clang C/C++ compiler during the bootstrap phase of the build.
|
H A D | WITHOUT_CLANG_FULL | 2 the Clang C/C++ compiler.
|