[clang] c80b91b - [clang][DebugInfo][test] Remove unchecked member variable in debug-info-static-inline-member

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 03:13:51 PST 2023


Author: Michael Buch
Date: 2023-11-30T11:13:36Z
New Revision: c80b91bce3a5a92281ad1c7e090ac25e7a5bd395

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

LOG: [clang][DebugInfo][test] Remove unchecked member variable in debug-info-static-inline-member

The check for this was removed in
https://github.com/llvm/llvm-project/pull/72974

This patch removes the member from the source itself since
it was confusing FileCheck

Added: 
    

Modified: 
    clang/test/CodeGenCXX/debug-info-static-inline-member.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/debug-info-static-inline-member.cpp b/clang/test/CodeGenCXX/debug-info-static-inline-member.cpp
index 1a1547a687f9188..3230b0e0c9c60f1 100644
--- a/clang/test/CodeGenCXX/debug-info-static-inline-member.cpp
+++ b/clang/test/CodeGenCXX/debug-info-static-inline-member.cpp
@@ -16,7 +16,6 @@ struct Foo {
     static constexpr float cexpr_float = 2.0 + 1.0;
     static constexpr Enum cexpr_enum = Enum::VAL;
     static constexpr Empty cexpr_struct_with_addr{};
-    static inline    Enum inline_enum = Enum::VAL;
 
     template<typename T, unsigned V>
     static constexpr auto cexpr_template = V;


        


More information about the cfe-commits mailing list