summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/enum-bitfield.cpp
Commit message (Collapse)AuthorAgeFilesLines
* After parsing a ':' in an enum-specifier within class context,Douglas Gregor2010-12-011-0/+18
disambiguate between an expression (for a bit-field width) and a type (for a fixed underlying type). Since the disambiguation can be expensive (due to tentative parsing), we perform a simplistic disambiguation based on one-token lookahead before going into the full-blown tentative parsing. Based on a patch by Daniel Wallin. llvm-svn: 120582
OpenPOWER on IntegriCloud