parent
dc771509a4
commit
3170de0eb8
|
@ -2706,7 +2706,7 @@ class X86TargetInfo : public TargetInfo {
|
||||||
CK_C3_2,
|
CK_C3_2,
|
||||||
|
|
||||||
/// This enumerator is a bit odd, as GCC no longer accepts -march=yonah.
|
/// This enumerator is a bit odd, as GCC no longer accepts -march=yonah.
|
||||||
/// Clang however has some logic to suport this.
|
/// Clang however has some logic to support this.
|
||||||
// FIXME: Warn, deprecate, and potentially remove this.
|
// FIXME: Warn, deprecate, and potentially remove this.
|
||||||
CK_Yonah,
|
CK_Yonah,
|
||||||
//@}
|
//@}
|
||||||
|
|
|
@ -109,7 +109,7 @@ std::string MipsLLVMToolChain::findLibCxxIncludePath() const {
|
||||||
void MipsLLVMToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
|
void MipsLLVMToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
|
||||||
ArgStringList &CmdArgs) const {
|
ArgStringList &CmdArgs) const {
|
||||||
assert((GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) &&
|
assert((GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) &&
|
||||||
"Only -lc++ (aka libxx) is suported in this toolchain.");
|
"Only -lc++ (aka libxx) is supported in this toolchain.");
|
||||||
|
|
||||||
CmdArgs.push_back("-lc++");
|
CmdArgs.push_back("-lc++");
|
||||||
CmdArgs.push_back("-lc++abi");
|
CmdArgs.push_back("-lc++abi");
|
||||||
|
|
|
@ -248,7 +248,7 @@ std::error_code ModuleDependencyCollector::copyToRoot(StringRef Src,
|
||||||
// Always map a canonical src path to its real path into the YAML, by doing
|
// Always map a canonical src path to its real path into the YAML, by doing
|
||||||
// this we map different virtual src paths to the same entry in the VFS
|
// this we map different virtual src paths to the same entry in the VFS
|
||||||
// overlay, which is a way to emulate symlink inside the VFS; this is also
|
// overlay, which is a way to emulate symlink inside the VFS; this is also
|
||||||
// needed for correctness, not doing that can lead to module redifinition
|
// needed for correctness, not doing that can lead to module redefinition
|
||||||
// errors.
|
// errors.
|
||||||
addFileMapping(VirtualPath, CacheDst);
|
addFileMapping(VirtualPath, CacheDst);
|
||||||
return std::error_code();
|
return std::error_code();
|
||||||
|
|
|
@ -11975,7 +11975,7 @@ Sema::CheckForFunctionRedefinition(FunctionDecl *FD,
|
||||||
if (canRedefineFunction(Definition, getLangOpts()))
|
if (canRedefineFunction(Definition, getLangOpts()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Don't emit an error when this is redifinition of a typo-corrected
|
// Don't emit an error when this is redefinition of a typo-corrected
|
||||||
// definition.
|
// definition.
|
||||||
if (TypoCorrectedFunctionDefinitions.count(Definition))
|
if (TypoCorrectedFunctionDefinitions.count(Definition))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -8263,7 +8263,7 @@ ASTReader::getSourceDescriptor(unsigned ID) {
|
||||||
return ExternalASTSource::ASTSourceDescriptor(*M);
|
return ExternalASTSource::ASTSourceDescriptor(*M);
|
||||||
|
|
||||||
// If there is only a single PCH, return it instead.
|
// If there is only a single PCH, return it instead.
|
||||||
// Chained PCH are not suported.
|
// Chained PCH are not supported.
|
||||||
const auto &PCHChain = ModuleMgr.pch_modules();
|
const auto &PCHChain = ModuleMgr.pch_modules();
|
||||||
if (std::distance(std::begin(PCHChain), std::end(PCHChain))) {
|
if (std::distance(std::begin(PCHChain), std::end(PCHChain))) {
|
||||||
ModuleFile &MF = ModuleMgr.getPrimaryModule();
|
ModuleFile &MF = ModuleMgr.getPrimaryModule();
|
||||||
|
|
Loading…
Reference in New Issue