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 b279ca2 commit 0636309Copy full SHA for 0636309
clang/lib/AST/Interp/Function.h
@@ -186,7 +186,7 @@ class Function final {
186
/// Returns the number of parameter this function takes when it's called,
187
/// i.e excluding the instance pointer and the RVO pointer.
188
unsigned getNumWrittenParams() const {
189
- assert(getNumParams() >= (hasThisPointer() + hasRVO()));
+ assert(getNumParams() >= (unsigned)(hasThisPointer() + hasRVO()));
190
return getNumParams() - hasThisPointer() - hasRVO();
191
}
192
unsigned getWrittenArgSize() const {
0 commit comments