[clang] [clang] Inject tokens containing #embed back into token stream (PR #97274)
Ben Barham via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 19:52:06 PDT 2024
================
@@ -2123,17 +2123,18 @@ class Preprocessor {
char
getSpellingOfSingleCharacterNumericConstant(const Token &Tok,
----------------
bnbarham wrote:
Both the documentation and name of this function is incorrect now that the underlying functionality has changed - would you mind updating it to something more appropriate @Fznamznon? It used to return the character itself:
```
/// Given a Token \p Tok that is a numeric constant with length 1,
/// return the character.
```
But now returns the value of the character.
https://github.com/llvm/llvm-project/pull/97274
More information about the cfe-commits
mailing list