[clang] [Clang][Sema] Diagnose use of template keyword after declarative nested-name-specifiers (PR #78595)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 08:06:52 PST 2024


================
@@ -3,21 +3,21 @@ template<typename T, typename U> // expected-note{{previous template}}
 class X0 {
 public:
   typedef int size_type;
-  
+
   X0(int);
   ~X0();
-  
+
   void f0(const T&, const U&);
-  
+
   T& operator[](int i) const;
-  
+
   void f1(size_type) const;
   void f2(size_type) const;
   void f3(size_type) const;
   void f4() ;
-  
+
   operator T*() const;
-  
+
   T value;
 };
 
----------------
cor3ntin wrote:

Can you revert the Whitespace only changes in this file?

https://github.com/llvm/llvm-project/pull/78595


More information about the cfe-commits mailing list