[pseudo] Apply the function-declarator to member functions.
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 10 Aug 2022 13:41:36 +0000 (15:41 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 12 Aug 2022 11:49:01 +0000 (13:49 +0200)
commit1828c75d5f4ff657cf977476091fa224c8193e1d
tree47189c019dc0939a90ce8ae2408d67719e3e5c88
parenta1a1a78ac8cf837e4c05152c9715f399b33bfb59
[pseudo] Apply the function-declarator to member functions.

A followup patch of d489b3807f096584175c321ce7f20e9dcd49b1da, but for
member functions, this will eliminate a false parse of member
declaration.

Differential Revision: https://reviews.llvm.org/D131720
clang-tools-extra/pseudo/lib/cxx/cxx.bnf
clang-tools-extra/pseudo/test/cxx/declator-member-function.cpp [new file with mode: 0644]