[all-commits] [llvm/llvm-project] 90dab0: [pseudo] Handle the language predefined identifier...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jun 7 01:35:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90dab0473ef0141c3cdbacc9990f98db8c956f90
      https://github.com/llvm/llvm-project/commit/90dab0473ef0141c3cdbacc9990f98db8c956f90
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M clang-tools-extra/pseudo/lib/cxx.bnf
    A clang-tools-extra/pseudo/test/cxx/predefined-identifier.cpp

  Log Message:
  -----------
  [pseudo] Handle the language predefined identifier __func__

The clang lexer lexes it as a dedicated token kind (rather than
identifier), we extend the grammar to handle it.

Differential Revision: https://reviews.llvm.org/D126996




More information about the All-commits mailing list