Author: Deep Majumder Date: 2021-02-15T11:47:21+03:00 New Revision: f8d3f47e1fd09392aa30df83849b25acd8c59a25
URL: https://github.com/llvm/llvm-project/commit/f8d3f47e1fd09392aa30df83849b25acd8c59a25 DIFF: https://github.com/llvm/llvm-project/commit/f8d3f47e1fd09392aa30df83849b25acd8c59a25.diff LOG: [analyzer] Updated comments to reflect D85817 Changed DeclaratorDecl in comment to NamedDecl Reviewed By: vsavchenko Differential Revision: https://reviews.llvm.org/D95846 Added: Modified: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h Removed: ################################################################################ diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h index a2354ba62cdb..b1c33713febd 100644 --- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits