Skip to content
Snippets Groups Projects
Commit bf35f041 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Add the ability to determine whether a format string argument is of a double...

Add the ability to determine whether a format string argument is of a double type or not. This change is tested by clang-tidy in r268100.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268103 91177308-0d34-0410-b5e6-96231b3b80d8
parent a5a05791
No related branches found
No related tags found
No related merge requests found
......@@ -216,6 +216,10 @@ public:
kind == FreeBSDrArg || kind == FreeBSDyArg; }
bool isUIntArg() const { return kind >= UIntArgBeg && kind <= UIntArgEnd; }
bool isAnyIntArg() const { return kind >= IntArgBeg && kind <= UIntArgEnd; }
bool isDoubleArg() const {
return kind >= DoubleArgBeg && kind <= DoubleArgEnd;
}
const char *toString() const;
bool isPrintfKind() const { return IsPrintf; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment