[clang] [Clang] Fix logical error in 'if else' condition that lead to an unreachable code (PR #95666)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 16 05:54:02 PDT 2024


sstwcw wrote:

I suggest removing the second block.  The first block was intended for handling the backtick character.  The second block was intended for handling the hash character.  I messed things up when I made the code treat the backtick character like the hash character.  I will figure out if the second block is really needed and add a test if it is needed.

https://github.com/llvm/llvm-project/pull/95666


More information about the cfe-commits mailing list