Author: Timm Baeder
Date: 2025-08-02T16:36:45+02:00
New Revision: fc712aa9a6e843baa658aed4cb6d1cd5249d7b46

URL: 
https://github.com/llvm/llvm-project/commit/fc712aa9a6e843baa658aed4cb6d1cd5249d7b46
DIFF: 
https://github.com/llvm/llvm-project/commit/fc712aa9a6e843baa658aed4cb6d1cd5249d7b46.diff

LOG: [clang][NFC] Remove leftover comment (#151822)

>From d8ca85a184c0fb511fe6483c4c24e48b5b1eb07a

Added: 
    

Modified: 
    clang/lib/Sema/SemaDecl.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 20fdf2de59cb1..e2ac648320c0f 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -14724,7 +14724,6 @@ void Sema::CheckCompleteVariableDeclaration(VarDecl 
*var) {
             type->isIntegralOrEnumerationType()) {
           // In C++98, in-class initialization for a static data member must
           // be an integer constant expression.
-          // SourceLocation Loc;
           if (!Init->isIntegerConstantExpr(Context)) {
             Diag(Init->getExprLoc(),
                  diag::ext_in_class_initializer_non_constant)


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to