================
@@ -0,0 +1,126 @@
+// RUN: %check_clang_tidy -std=c++98-or-later %s 
readability-inconsistent-ifelse-braces %t
----------------
gxyd wrote:

I see, makes sense.

I'm just curious: If my understanding is correct that means when compiling a 
C++ program containing likely/unlikely attribute(s), then with `-std=c++11` the 
likely/unlikely attributes are completely ignored (at some stage of 
compilation)?

If they are indeed completely ignored, at what stage does that happen? (in AST 
of both `-std=c++11` or `-std=c++20` the likely/unlikely attribute continues to 
be there).

https://github.com/llvm/llvm-project/pull/202869
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to