diff options
Diffstat (limited to 'lib/AST/ASTContext.cpp')
| -rw-r--r-- | lib/AST/ASTContext.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 6b864d0f0ac2..c9fb80ceaae2 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -682,6 +682,7 @@ CXXABI *ASTContext::createCXXABI(const TargetInfo &T) {    case TargetCXXABI::iOS:    case TargetCXXABI::iOS64:    case TargetCXXABI::GenericAArch64: +  case TargetCXXABI::GenericMIPS:    case TargetCXXABI::GenericItanium:      return CreateItaniumCXXABI(*this);    case TargetCXXABI::Microsoft: @@ -7873,7 +7874,7 @@ static GVALinkage basicGVALinkageForFunction(const ASTContext &Context,    // Functions specified with extern and inline in -fms-compatibility mode    // forcibly get emitted.  While the body of the function cannot be later    // replaced, the function definition cannot be discarded. -  if (FD->getMostRecentDecl()->isMSExternInline()) +  if (FD->isMSExternInline())      return GVA_StrongODR;    return GVA_DiscardableODR; @@ -8064,6 +8065,7 @@ MangleContext *ASTContext::createMangleContext() {    case TargetCXXABI::GenericAArch64:    case TargetCXXABI::GenericItanium:    case TargetCXXABI::GenericARM: +  case TargetCXXABI::GenericMIPS:    case TargetCXXABI::iOS:    case TargetCXXABI::iOS64:      return ItaniumMangleContext::create(*this, getDiagnostics()); | 
