[analyzer] AnalysisDeclContext: Refactor and documentation
authorCharusso <dabis.csaba98@gmail.com>
Wed, 4 Mar 2020 06:06:35 +0000 (07:06 +0100)
committerCharusso <dabis.csaba98@gmail.com>
Wed, 4 Mar 2020 06:06:54 +0000 (07:06 +0100)
commit7e1a6ca9e89c3ea08f8b008e9140d9fdc048d1df
tree07b9e303c6575d947eeb4f2138adbdfccfbb317c
parentabdd33c86a34517bbbe91adcacaae1ed5ea6b1d8
[analyzer] AnalysisDeclContext: Refactor and documentation

Summary:
`ScopeContext` wanted to be a thing, but sadly it is dead code.

If you wish to continue the work in D19979, here was a tiny code which
could be reused, but that tiny and that dead, I felt that it is unneded.

Note: Other changes are truly uninteresting.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D73519
clang/include/clang/Analysis/AnalysisDeclContext.h
clang/lib/Analysis/AnalysisDeclContext.cpp
clang/lib/StaticAnalyzer/Core/MemRegion.cpp