Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Fix #11311 Do not search for null pointer…
Browse files Browse the repository at this point in the history
… in dead code
  • Loading branch information
francois-berder committed Jun 14, 2024
1 parent 1b5cbc7 commit f0eb67b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/findtoken.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ std::vector<T*> findTokensSkipDeadCode(const Library& library, T* start, const T

template<class T, class Predicate, class Evaluate, REQUIRES("T must be a Token class", std::is_convertible<T*, const Token*> )>
std::vector<T*> findTokensSkipDeadAndUnevaluatedCode(const Library& library,
T* start,
const Token* end,
const Predicate& pred,
const Evaluate& evaluate)
T* start,
const Token* end,
const Predicate& pred,
const Evaluate& evaluate)
{
std::vector<T*> result;
(void)findTokensSkipDeadCodeImpl(
Expand Down

0 comments on commit f0eb67b

Please sign in to comment.