[clang] [WebKit Checkers] Make TrivialFunctionAnalysis recognize std::array::operator[] as trivial (PR #113377)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 11:49:33 PDT 2024


================
@@ -452,6 +454,10 @@ class RefCounted {
   unsigned nonTrivial23() { return DerivedNumber("123").value(); }
   SomeType nonTrivial24() { return SomeType("123"); }
 
+  void call_libcpp_verbose_abort() {
+      __libcpp_verbose_abort("%s", "aborting");
----------------
rniwa wrote:

Nit: This indentation seems wrong?

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


More information about the cfe-commits mailing list