aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-11-08 13:10:34 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-11-08 13:10:34 +0000
commit28a109f63506d8c96e3fbf1b959b603ccec2f586 (patch)
treea0a86281ea6f8db57caf30fee0797bf0cfcd7a93 /include/clang/Analysis
parent9770ef0eea1dbebb9cad93b8a564bff789568e62 (diff)
Add a checker for CWE-467: Use of sizeof() on a Pointer Type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis')
-rw-r--r--include/clang/Analysis/LocalCheckers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/LocalCheckers.h b/include/clang/Analysis/LocalCheckers.h
index 1da15fbae6..cd2d6b3ec7 100644
--- a/include/clang/Analysis/LocalCheckers.h
+++ b/include/clang/Analysis/LocalCheckers.h
@@ -53,7 +53,7 @@ void RegisterAppleChecks(GRExprEngine& Eng, const Decl &D);
void CheckSecuritySyntaxOnly(const Decl *D, BugReporter &BR);
-
+void CheckSizeofPointer(const Decl *D, BugReporter &BR);
} // end namespace clang
#endif