diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-28 01:00:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-28 01:00:59 +0000 |
commit | d5f2096e266b7905df660b7839e69e9ed6ba9018 (patch) | |
tree | b8ab59a82e3d3f272cafdad8295edb801c8320d4 /include/clang/Analysis/Analyses/PrintfFormatString.h | |
parent | 936ea3b590117d2cd73b1b92621d06c4a7edbe60 (diff) |
Allow HandleFormatSpecifier() to indicate that no more processing of the format string is desired.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/Analyses/PrintfFormatString.h')
-rw-r--r-- | include/clang/Analysis/Analyses/PrintfFormatString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/Analyses/PrintfFormatString.h b/include/clang/Analysis/Analyses/PrintfFormatString.h index c5bac8c726..6ae7e0c6e9 100644 --- a/include/clang/Analysis/Analyses/PrintfFormatString.h +++ b/include/clang/Analysis/Analyses/PrintfFormatString.h @@ -176,9 +176,9 @@ public: virtual void HandleInvalidConversionSpecifier(const char *conversionChar) {} - virtual void HandleFormatSpecifier(const FormatSpecifier &FS, + virtual bool HandleFormatSpecifier(const FormatSpecifier &FS, const char *startSpecifier, - const char *endSpecifier) {} + const char *endSpecifier) { return false; } }; bool ParseFormatString(FormatStringHandler &H, |