Skip to content

Commit

Permalink
[analyzer] Updated comments to reflect D85817
Browse files Browse the repository at this point in the history
Changed DeclaratorDecl in comment to NamedDecl

Reviewed By: vsavchenko

Differential Revision: https://reviews.llvm.org/D95846
  • Loading branch information
RedDocMD authored and SavchenkoValeriy committed Feb 15, 2021
1 parent 21daada commit f8d3f47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Expand Up @@ -511,11 +511,11 @@ class LazyCompoundVal : public NonLoc {
/// This value is qualified as NonLoc because neither loading nor storing
/// operations are applied to it. Instead, the analyzer uses the L-value coming
/// from pointer-to-member applied to an object.
/// This SVal is represented by a DeclaratorDecl which can be a member function
/// pointer or a member data pointer and a list of CXXBaseSpecifiers. This list
/// is required to accumulate the pointer-to-member cast history to figure out
/// the correct subobject field. In particular, implicit casts grow this list
/// and explicit casts like static_cast shrink this list.
/// This SVal is represented by a NamedDecl which can be a member function
/// pointer or a member data pointer and an optional list of CXXBaseSpecifiers.
/// This list is required to accumulate the pointer-to-member cast history to
/// figure out the correct subobject field. In particular, implicit casts grow
/// this list and explicit casts like static_cast shrink this list.
class PointerToMember : public NonLoc {
friend class ento::SValBuilder;

Expand Down

0 comments on commit f8d3f47

Please sign in to comment.