| commit | e3298aa09c6d9f183e193d844db4b164c47b8d7b | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <doug.gregor@gmail.com> | Tue May 12 21:31:51 2009 +0000 |
| committer | Douglas Gregor <doug.gregor@gmail.com> | Tue May 12 21:31:51 2009 +0000 |
| tree | c7e2cb48eceb9e463b06b8d08b69c8569c0e85f1 | |
| parent | b7062339b0021492a67dbef64aa5a7579487c3f2 [diff] |
Refactor the parsing of declarations so that template declarations can parse just a single declaration and provide a reasonable diagnostic when the "only one declarator per template declaration" rule is violated. This eliminates some ugly, ugly hackery where we used to require thatn the layout of a DeclGroup of a single element be the same as the layout of a single declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71596 91177308-0d34-0410-b5e6-96231b3b80d8