]> granicus.if.org Git - clang/commit
[analyzer] Generate and use stable identifiers for LocationContext
authorGeorge Karpenkov <ekarpenkov@apple.com>
Sat, 15 Sep 2018 02:03:36 +0000 (02:03 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Sat, 15 Sep 2018 02:03:36 +0000 (02:03 +0000)
commitab961c560a235c89588375dfcb0ef4597e460ee6
tree52ec950f08da11a4e97777a1cc35d607e7f00a93
parent7d1cca44581e8de3ef829873541bd45c9918b846
[analyzer] Generate and use stable identifiers for LocationContext

Those are not created in the allocator.
Since they are created fairly rarely, a counter overhead should not
affect the memory consumption.

Differential Revision: https://reviews.llvm.org/D51827

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342314 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/AnalysisDeclContext.h
lib/Analysis/AnalysisDeclContext.cpp
lib/StaticAnalyzer/Core/Environment.cpp