================
@@ -200,44 +198,58 @@ class AnalysisDeclContext {
private:
std::unique_ptr<ManagedAnalysis> &getAnalysisImpl(const void *tag);
- LocationContextManager &getLocationContextManager();
+ StackFrameManager &getStackFrameManager();
};
-class LocationContext : public llvm::FoldingSetNode {
-public:
- enum ContextKind { StackFrameKind };
-
-private:
- ContextKind Kind;
+/// It represents a stack frame of the call stack (based on CallEvent).
----------------
tigbr wrote:
This comment was already there in the file. I have just moved it when deleting
`LocationContext` and that is why it appears as a new addition. `CallEvent` has
a pointer field that points to a `StackFrame`. At a first glance I am not sure
what deeper meaning it could have.
https://github.com/llvm/llvm-project/pull/198211
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits