fix truncation of token flags (#4727)
This commit is contained in:
parent
3a8d9b8c87
commit
c3aa0940be
|
@ -442,10 +442,10 @@ public:
|
||||||
}
|
}
|
||||||
bool isUnaryPreOp() const;
|
bool isUnaryPreOp() const;
|
||||||
|
|
||||||
unsigned int flags() const {
|
uint64_t flags() const {
|
||||||
return mFlags;
|
return mFlags;
|
||||||
}
|
}
|
||||||
void flags(const unsigned int flags_) {
|
void flags(const uint64_t flags_) {
|
||||||
mFlags = flags_;
|
mFlags = flags_;
|
||||||
}
|
}
|
||||||
bool isUnsigned() const {
|
bool isUnsigned() const {
|
||||||
|
|
|
@ -1922,7 +1922,7 @@ private:
|
||||||
" B * b = new B;\n"
|
" B * b = new B;\n"
|
||||||
" b->f = new A::F * [ 10 ];\n"
|
" b->f = new A::F * [ 10 ];\n"
|
||||||
"}");
|
"}");
|
||||||
ASSERT_EQUALS_WITHOUT_LINENUMBERS("[test.cpp:12]: (debug) valueflow.cpp:1319:valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx\n", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void simplifyTypedef83() { // ticket #2620
|
void simplifyTypedef83() { // ticket #2620
|
||||||
|
|
Loading…
Reference in New Issue