We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587368a commit d0e1646Copy full SHA for d0e1646
clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntPtr.h
@@ -10,6 +10,7 @@
10
#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_APSIntPtr_H
11
12
#include "llvm/ADT/APSInt.h"
13
+#include "llvm/Support/Compiler.h"
14
15
namespace clang::ento {
16
@@ -31,6 +32,7 @@ class APSIntPtr {
31
32
return APSIntPtr(Ptr);
33
}
34
35
+ LLVM_ATTRIBUTE_RETURNS_NONNULL
36
const APSInt *get() const { return Ptr; }
37
/*implicit*/ operator const APSInt &() const { return *get(); }
38
0 commit comments