parent
dc771509a4
commit
3170de0eb8
|
@ -2706,7 +2706,7 @@ class X86TargetInfo : public TargetInfo {
|
|||
CK_C3_2,
|
||||
|
||||
/// 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.
|
||||
CK_Yonah,
|
||||
//@}
|
||||
|
|
|
@ -109,7 +109,7 @@ std::string MipsLLVMToolChain::findLibCxxIncludePath() const {
|
|||
void MipsLLVMToolChain::AddCXXStdlibLibArgs(const ArgList &Args,
|
||||
ArgStringList &CmdArgs) const {
|
||||
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++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
|
||||
// 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
|
||||
// needed for correctness, not doing that can lead to module redifinition
|
||||
// needed for correctness, not doing that can lead to module redefinition
|
||||
// errors.
|
||||
addFileMapping(VirtualPath, CacheDst);
|
||||
return std::error_code();
|
||||
|
|
|
@ -11975,7 +11975,7 @@ Sema::CheckForFunctionRedefinition(FunctionDecl *FD,
|
|||
if (canRedefineFunction(Definition, getLangOpts()))
|
||||
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.
|
||||
if (TypoCorrectedFunctionDefinitions.count(Definition))
|
||||
return;
|
||||
|
|
|
@ -8263,7 +8263,7 @@ ASTReader::getSourceDescriptor(unsigned ID) {
|
|||
return ExternalASTSource::ASTSourceDescriptor(*M);
|
||||
|
||||
// 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();
|
||||
if (std::distance(std::begin(PCHChain), std::end(PCHChain))) {
|
||||
ModuleFile &MF = ModuleMgr.getPrimaryModule();
|
||||
|
|
Loading…
Reference in New Issue