Unverified Commit a986f5e2 authored by alexfh's avatar alexfh Committed by GitHub
Browse files

Fix clang crash when printing highlighted code in diagnostic (after #66514) (#80442)

Implements the fix proposed by Evgeny Eltsin on
https://github.com/llvm/llvm-project/pull/66514#issuecomment-1924039038.

No test case provided, since the bug is extremely sensitive to the
preprocessor
state (headers, macros, including the ones defined on command line), and
it
turned out to be non-trivial to create an isolated test.
parent 66b339aa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment