HomePhabricator

[Syntax] Build spanning SimpleDecalration for classes, structs, etc

Authored by ilya-biryukov on Fri, Jan 3, 3:05 AM.

Description

[Syntax] Build spanning SimpleDecalration for classes, structs, etc

When they are free-standing, e.g. struct X; or struct X {};.
Although this complicates the common case (of free-standing class
declarations), this ensures the less common case (e.g. struct X {} a;)
are handled uniformly and produce similar syntax trees.

Details

Committed
ilya-biryukovFri, Jan 3, 3:33 AM
Parents
rG7b4badf6f9ad: [test][llvm-dwarfdump] Use --implicit-check-not to simplify test checks
Branches
Unknown
Tags
Unknown