[clang] [Clang] Allow the use of consecutive brackets as an extension in C++03 (PR #75148)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 07:26:17 PST 2024


================
@@ -815,8 +815,8 @@ def err_unexpected_template_in_destructor_name : Error<
   "'template' keyword not permitted in destructor name">;
 def err_unexpected_template_after_using : Error<
   "'template' keyword not permitted after 'using' keyword">;
-def err_two_right_angle_brackets_need_space : Error<
-  "a space is required between consecutive right angle brackets (use '> >')">;
+def err_two_right_angle_brackets_need_space : ExtWarn<
----------------
erichkeane wrote:

Yes, if we accept this, the name of the diagnostic has to change to be consistent.

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


More information about the cfe-commits mailing list