[clang] f9b854b - [Clang] Fix buildbots after Fix filtering of inline namespaces for friend functions commit

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 7 09:20:01 PDT 2023


Author: Shafik Yaghmour
Date: 2023-04-07T09:18:15-07:00
New Revision: f9b854bc8f0bfe2a38b00fab401bb1982eb8e61e

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

LOG: [Clang] Fix buildbots after Fix filtering of inline namespaces for friend functions commit

In commit cffadbd951e9 the test I added was using a C++17 feature and this
breaking some build bots. I don't need the feature and so I will modify
the test to not use it.

Added: 
    

Modified: 
    clang/test/SemaTemplate/friend.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaTemplate/friend.cpp b/clang/test/SemaTemplate/friend.cpp
index b039f10e14d8b..9a1ed46812ca9 100644
--- a/clang/test/SemaTemplate/friend.cpp
+++ b/clang/test/SemaTemplate/friend.cpp
@@ -152,7 +152,7 @@ namespace PR42513_comment3 {
 namespace GH61851 {
 namespace A {
 inline namespace B {
-  inline constexpr struct {} foo;
+  constexpr struct {} foo;
 }
 
 template <typename T>


        


More information about the cfe-commits mailing list