[all-commits] [llvm/llvm-project] a90ea3: [Lexer] Allow UCN for dollar symbol '\u0024' in id...
Scott Egerton via All-commits
all-commits at lists.llvm.org
Wed Jan 15 03:30:22 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a90ea386981f4fa3c7cb7f62c6900069764b05a8
https://github.com/llvm/llvm-project/commit/a90ea386981f4fa3c7cb7f62c6900069764b05a8
Author: Scott Egerton <scott.egerton at embecosm.com>
Date: 2020-01-15 (Wed, 15 Jan 2020)
Changed paths:
M clang/lib/Lex/Lexer.cpp
M clang/test/Preprocessor/ucn-pp-identifier.c
Log Message:
-----------
[Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using -fdollars-in-identifiers flag.
Summary:
Previously, the -fdollars-in-identifiers flag allows the '$' symbol to be used
in an identifier but the universal character name equivalent '\u0024' is not
allowed.
This patch changes this, so that \u0024 is valid in identifiers.
Reviewers: rsmith, jordan_rose
Reviewed By: rsmith
Subscribers: dexonsmith, simoncook, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71758
More information about the All-commits
mailing list