[clang] ad71114 - Revert "[Clang][Sema] Add a temporary workaround in SemaConcept.cpp"
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue May 2 08:10:57 PDT 2023
Author: Erich Keane
Date: 2023-05-02T08:09:01-07:00
New Revision: ad7111495f43fe8f837007b9e21afb9e515df4d1
URL: https://github.com/llvm/llvm-project/commit/ad7111495f43fe8f837007b9e21afb9e515df4d1
DIFF: https://github.com/llvm/llvm-project/commit/ad7111495f43fe8f837007b9e21afb9e515df4d1.diff
LOG: Revert "[Clang][Sema] Add a temporary workaround in SemaConcept.cpp"
This reverts commit ce861ec782ae3f41807b61e855512aaccf3c2149.
Added:
Modified:
clang/lib/Sema/SemaConcept.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/SemaConcept.cpp b/clang/lib/Sema/SemaConcept.cpp
index a9335d6689ec1..f208cdbd1d87d 100644
--- a/clang/lib/Sema/SemaConcept.cpp
+++ b/clang/lib/Sema/SemaConcept.cpp
@@ -260,11 +260,6 @@ calculateConstraintSatisfaction(Sema &S, const Expr *ConstraintExpr,
return SubstitutedAtomicExpr;
}
- // FIXME: Remove this workaround.
- // It's necessary to investigate how we get here.
- if (SubstitutedAtomicExpr.get()->isValueDependent())
- return SubstitutedAtomicExpr;
-
EnterExpressionEvaluationContext ConstantEvaluated(
S, Sema::ExpressionEvaluationContext::ConstantEvaluated);
SmallVector<PartialDiagnosticAt, 2> EvaluationDiags;
More information about the cfe-commits
mailing list