Home | History | Annotate | Download | only in Driver

Lines Matching refs:Clang

13 #include "clang/Basic/CharInfo.h"
14 #include "clang/Basic/LangOptions.h"
15 #include "clang/Basic/ObjCRuntime.h"
16 #include "clang/Basic/Version.h"
17 #include "clang/Config/config.h"
18 #include "clang/Driver/Action.h"
19 #include "clang/Driver/Compilation.h"
20 #include "clang/Driver/Driver.h"
21 #include "clang/Driver/DriverDiagnostic.h"
22 #include "clang/Driver/Job.h"
23 #include "clang/Driver/Options.h"
24 #include "clang/Driver/SanitizerArgs.h"
25 #include "clang/Driver/ToolChain.h"
26 #include "clang/Driver/Util.h"
50 using namespace clang::driver;
51 using namespace clang::driver::tools;
52 using namespace clang;
273 void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA,
791 D.Diag(clang::diag::warn_drv_unused_argument)
796 D.Diag(clang::diag::warn_drv_unused_argument) << WaArch->getAsString(Args);
807 D.Diag(clang::diag::warn_drv_unused_argument)
829 D.Diag(clang::diag::warn_drv_unused_argument)
841 D.Diag(clang::diag::warn_drv_unused_argument)
928 void Clang::AddARMTargetArgs(const llvm::Triple &Triple, const ArgList &Args,
1032 void Clang::AddAArch64TargetArgs(const ArgList &Args,
1291 void Clang::AddMIPSTargetArgs(const ArgList &Args,
1472 void Clang::AddPPCTargetArgs(const ArgList &Args,
1551 void Clang::AddSparcTargetArgs(const ArgList &Args,
2003 D.Diag(clang::diag::warn_drv_unused_argument) << A->getAsString(Args);
2024 void Clang::AddX86TargetArgs(const ArgList &Args,
2057 void Clang::AddHexagonTargetArgs(const ArgList &Args,
2692 /// the default for Clang.
2695 /// The GNU OpenMP runtime. Clang doesn't support generating OpenMP code for
3424 void Clang::ConstructJob(Compilation &C, const JobAction &JA,
3531 "Invalid action for clang tool.");
3574 // We normally speed up the clang process a bit by skipping destructors at
4045 // Add clang-cl arguments.
4308 // Don't warn about "clang -c -DPIC -fPIC test.i" because libtool.m4 assumes
4310 // When building with ccache, it will pass -D options to clang even on
4314 // Manually translate -O4 to -O3; let clang reject others.
4324 // Warn about ignored options to clang.
4364 // FIXME: Clang doesn't correctly handle -std= when the input language
4367 // splitting it between the driver and clang -cc1.
4566 // Clang can generate useful OpenMP code for these two runtime libraries.
4577 // By default, if Clang doesn't know how to generate useful OpenMP code
4843 llvm::sys::path::append(Path, "org.llvm.clang.");
5193 // -fsigned-bitfields is default, and clang doesn't yet support
5200 // -fsigned-bitfields is default, and clang doesn't support -fno-for-scope.
5259 // Support both clang's -f[no-]color-diagnostics and gcc's
5370 // -fno-math-builtin: clang should not convert math builtins to intrinsics
5378 // FIXME: This is disabled until clang -cc1 supports -fno-builtin-foo. PR4941.
5534 // Claim some arguments which clang supports automatically.
5537 // include the PCH file. Clang's PTH solution is completely transparent, so we
5541 // Claim some arguments which clang doesn't support, but we don't
5546 // Disable warnings for clang -E -emit-llvm foo.c
5553 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args,
5717 D.Diag(clang::diag::err_drv_invalid_value) << "/EH" << EHVal;
5725 void Clang::AddClangCLArgs(const ArgList &Args, ArgStringList &CmdArgs,
5775 // implemented in clang.
5830 D.Diag(clang::diag::err_drv_argument_not_allowed_with)
5841 D.Diag(clang::diag::err_drv_argument_not_allowed_with)
5865 visualstudio::Compiler *Clang::getCLFallback() const {
5895 // Don't warn about "clang -w -c foo.s"
5897 // and "clang -emit-llvm -c foo.s"
5919 CmdArgs.push_back(Clang::getBaseInputName(Args, Input));
5967 // Set the AT_producer to the clang version when using the integrated
6267 D.Diag(clang::diag::err_drv_no_linker_llvm_support)
6270 D.Diag(clang::diag::err_drv_no_ast_support)
6710 // This code must be kept in sync with Clang's Darwin specific argument
6747 const char *Clang::getBaseInputName(const ArgList &Args,
6752 const char *Clang::getBaseInputStem(const ArgList &Args,
6762 const char *Clang::getDependencyFileName(const ArgList &Args,
6785 // Silence warning for "clang -g foo.o -o foo"
6787 // and "clang -emit-llvm foo.o -o foo"
6789 // and for "clang -w foo.o -o foo". Other warning options are already
6856 // sure it runs its system assembler not clang's integrated assembler.
6974 // it in clang installed libraries. If not found, the option is not used
7514 // Silence warning for "clang -g foo.o -o foo"
7516 // and "clang -emit-llvm foo.o -o foo"
7518 // and for "clang -w foo.o -o foo". Other warning options are already
7858 // Silence warning for "clang -g foo.o -o foo"
7860 // and "clang -emit-llvm foo.o -o foo"
7862 // and for "clang -w foo.o -o foo". Other warning options are already
8725 // Silence warning for "clang -g foo.o -o foo"
8727 // and "clang -emit-llvm foo.o -o foo"
8729 // and for "clang -w foo.o -o foo". Other warning options are already
8961 // Silence warning for "clang -g foo.o -o foo"
8963 // and "clang -emit-llvm foo.o -o foo"
8965 // and for "clang -w foo.o -o foo". Other warning options are already
9338 // from clang itself to prevent clang from falling back to itself.
9535 // any flag accepted by clang-cl.
9537 // These are spelled the same way in clang and cl.exe,.
9567 // Flags for which clang-cl has an alias.
9568 // FIXME: How can we ensure this stays in sync with relevant clang-cl options?
9699 // Silence warning for "clang -g foo.o -o foo"
9701 // and "clang -emit-llvm foo.o -o foo"
9703 // and for "clang -w foo.o -o foo". Other warning options are already
9964 // Silence warning for "clang -g foo.o -o foo"
9966 // and "clang -emit-llvm foo.o -o foo"
9968 // and for "clang -w foo.o -o foo"
10126 // These are spelled the same way in clang and moviCompile.
10309 // Silence warning for "clang -g foo.o -o foo"
10311 // and "clang -emit-llvm foo.o -o foo"
10313 // and for "clang -w foo.o -o foo". Other warning options are already
10368 // Silence warning for "clang -g foo.o -o foo"
10370 // and "clang -emit-llvm foo.o -o foo"
10372 // and for "clang -w foo.o -o foo". Other warning options are already