llvm-project/clang/test/CXX/dcl.decl
Michele Scandale bd5b22070b Fix TryParsePtrOperatorSeq.
The syntax rules for ptr-operator allow attributes after *, &,
&&, therefore we should be able to parse the following:

void fn() {
    void (*[[attr]] x)() = &fn;
    void (&[[attr]] y)() = fn;
    void (&&[[attr]] z)() = fn;
}
However the current logic in TryParsePtrOperatorSeq does not consider
the presence of attributes leading to unexpected parsing errors.

Moreover we should also consider _Atomic a possible qualifier that can
appear after the sequence of attribute specifiers.
2020-02-24 08:08:47 -05:00
..
dcl.decomp PR40674: fix assertion failure if a structured binding declaration has a 2019-08-24 01:23:57 +00:00
dcl.fct.def Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
dcl.init P1957R2: conversion from a pointer to bool is considered narrowing. 2020-02-11 06:52:44 -08:00
dcl.meaning PR33503: When a qualified name in a redeclaration names a prior declaration in 2018-01-03 23:03:54 +00:00
dcl.name
p4-0x.cpp Fix TryParsePtrOperatorSeq. 2020-02-24 08:08:47 -05:00