[PATCH] D125749: [analyzer][NFC] Introduce SVal::isa<Ts...>

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 01:28:11 PDT 2022


steakhal added inline comments.


================
Comment at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:99-100
 
+  template <typename... Ts> bool isa() const { return llvm::isa<Ts...>(*this); }
+
   /// Convert to the specified SVal type, asserting that this SVal is of
----------------
This is the core of this change :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125749



More information about the cfe-commits mailing list