Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds methods that override `std::exception::what()`

import cpp

from MemberFunction override, MemberFunction base
where
  base.getName() = "what" and
  base.getDeclaringType().getName() = "exception" and
  base.getDeclaringType().getNamespace().getName() = "std" and
  override.overrides+(base)
select override