File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -2538,14 +2538,6 @@ bool Token::hasKnownSymbolicValue(const Token* tok) const
2538
2538
});
2539
2539
}
2540
2540
2541
- const ValueFlow::Value* Token::getKnownValue () const
2542
- {
2543
- if (!mImpl ->mValues )
2544
- return nullptr ;
2545
- auto it = std::find_if (mImpl ->mValues ->begin (), mImpl ->mValues ->end (), std::mem_fn (&ValueFlow::Value::isKnown));
2546
- return it == mImpl ->mValues ->end () ? nullptr : &*it;
2547
- }
2548
-
2549
2541
const ValueFlow::Value* Token::getKnownValue (ValueFlow::Value::ValueType t) const
2550
2542
{
2551
2543
if (!mImpl ->mValues )
Original file line number Diff line number Diff line change @@ -1307,7 +1307,6 @@ class CPPCHECKLIB Token {
1307
1307
bool hasKnownValue (ValueFlow::Value::ValueType t) const ;
1308
1308
bool hasKnownSymbolicValue (const Token* tok) const ;
1309
1309
1310
- const ValueFlow::Value* getKnownValue () const ;
1311
1310
const ValueFlow::Value* getKnownValue (ValueFlow::Value::ValueType t) const ;
1312
1311
MathLib::bigint getKnownIntValue () const {
1313
1312
assert (!mImpl ->mValues ->empty ());
You can’t perform that action at this time.
0 commit comments