================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to