[clang] [analyzer][NFC] Merge the `LocationContext` class into the `StackFrame` class (PR #198211)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 10:51:34 PDT 2026


================
@@ -424,8 +394,8 @@ class AnalysisDeclContextManager {
   ///
   /// \returns The top level stack frame for \p D.
   const StackFrame *getStackFrame(const Decl *D) {
----------------
NagyDonat wrote:

That is also a good name, but I prefer `Top` because e.g. it is consistent with the method name `inTopFrame()`. 

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


More information about the cfe-commits mailing list