aaron.ballman added inline comments.
================
Comment at: clang/test/Sema/attr-alwaysinline.cpp:48
+  if constexpr (D>0) {
+    // expected-warning@+6{{statement attribute 'always_inline' has higher 
precedence than function attribute 'noinline'}}
+    // expected-note@#NO_DEP{{conflicting attribute is here}}
----------------
Why is this not included in the `3` for:  `// expected-warning@+4 3{{statement 
attribute 'always_inline' has higher precedence than function attribute 
'noinline'}}`

It's pretty unfortunate just how often this diagnostic triggers for the same 
line of code. This seems rather chatty, can you help me understand what's going 
on?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146323/new/

https://reviews.llvm.org/D146323

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to