Skip to content

Commit

Permalink
[analyzer] Fix wrong annotation of LazyCompoundVal::getStore
Browse files Browse the repository at this point in the history
The build bot https://lab.llvm.org/buildbot#builders/5/builds/24183
uncovered a wrong nonnull annotation intoduced by D126198.
  • Loading branch information
Balazs Benics committed May 27, 2022
1 parent 49ad577 commit e651ed8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -421,7 +421,7 @@ class LazyCompoundVal : public NonLoc {
return static_cast<const LazyCompoundValData *>(Data);
}

LLVM_ATTRIBUTE_RETURNS_NONNULL
/// It might return null.
const void *getStore() const;

LLVM_ATTRIBUTE_RETURNS_NONNULL
Expand Down

0 comments on commit e651ed8

Please sign in to comment.