mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1676669 - Trim some context on downgrade-mangling-error.patch for clang-12 r=firefox-build-system-reviewers,rstewart
Some of the surrounding lines recently changed so the patch refuses to apply. We can live with less context so I'd rather trim it than make a new clang-12 version of this patch. Differential Revision: https://phabricator.services.mozilla.com/D96725
This commit is contained in:
parent
c7206d8f77
commit
02b04550c6
@ -5,15 +5,10 @@ unimplemented bits for now as long the compiler doesn't fail the
|
||||
build. See also https://bugs.llvm.org/show_bug.cgi?id=39294
|
||||
|
||||
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp
|
||||
index b483187394..fb01348ebb 100644
|
||||
index 8b1419074df5..4436cd118f87 100644
|
||||
--- a/clang/lib/AST/ItaniumMangle.cpp
|
||||
+++ b/clang/lib/AST/ItaniumMangle.cpp
|
||||
@@ -3623,20 +3623,21 @@ recurse:
|
||||
case Expr::AtomicExprClass:
|
||||
case Expr::SourceLocExprClass:
|
||||
case Expr::FixedPointLiteralClass:
|
||||
case Expr::BuiltinBitCastExprClass:
|
||||
{
|
||||
@@ -3847,10 +3847,11 @@ recurse:
|
||||
if (!NullOut) {
|
||||
// As bad as this diagnostic is, it's better than crashing.
|
||||
DiagnosticsEngine &Diags = Context.getDiags();
|
||||
@ -26,8 +21,3 @@ index b483187394..fb01348ebb 100644
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case Expr::CXXUuidofExprClass: {
|
||||
const CXXUuidofExpr *UE = cast<CXXUuidofExpr>(E);
|
||||
if (UE->isTypeOperand()) {
|
||||
QualType UuidT = UE->getTypeOperand(Context.getASTContext());
|
||||
|
Loading…
Reference in New Issue
Block a user