[clang-tidy] cppcoreguidelines-virtual-class-destructor: Fix crash when...
[clang-tidy] cppcoreguidelines-virtual-class-destructor: Fix crash when "virtual" keyword is expanded from a macro Check llvm::Optional before dereferencing it. Compute VirtualEndLoc differently to avoid an assertion failure in clang::SourceManager::getFileIDLoaded: Assertion `0 && "Invalid SLocOffset or bad function choice"' failed
Loading
Please sign in to comment