We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdb4a3 commit fc712aaCopy full SHA for fc712aa
clang/lib/Sema/SemaDecl.cpp
@@ -14724,7 +14724,6 @@ void Sema::CheckCompleteVariableDeclaration(VarDecl *var) {
14724
type->isIntegralOrEnumerationType()) {
14725
// In C++98, in-class initialization for a static data member must
14726
// be an integer constant expression.
14727
- // SourceLocation Loc;
14728
if (!Init->isIntegerConstantExpr(Context)) {
14729
Diag(Init->getExprLoc(),
14730
diag::ext_in_class_initializer_non_constant)
0 commit comments