RedDocMD created this revision. RedDocMD added reviewers: NoQ, vsavchenko. Herald added subscribers: steakhal, ASDenysPetrov, Charusso, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun. RedDocMD requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Changed DeclaratorDecl in comment to NamedDecl Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D95846 Files: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h =================================================================== --- clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h @@ -511,10 +511,10 @@ /// 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. +/// 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. class PointerToMember : public NonLoc { friend class ento::SValBuilder;
Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h =================================================================== --- clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h @@ -511,10 +511,10 @@ /// 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. +/// 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. class PointerToMember : public NonLoc { friend class ento::SValBuilder;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits