llvm-project/clang/lib/Parse
Faisal Vali 090da2d1ac Again reverting an attempt to convert the DeclSpec enums into scoped enums.
- reverts r321622, r321625, and r321626.
  - the use of bit-fields is still resulting in warnings - even though we can use static-asserts to harden the code and ensure the bit-fields are wide enough.  The bots still complain of warnings being seen.
  - to silence the warnings requires specifying the bit-fields with the underlying enum type (as opposed to the enum type itself), which then requires lots of unnecessary static casts of each enumerator within DeclSpec to the underlying-type, which even though could be seen as implementation details, it does hamper readability - and given the additional litterings, makes me question the value of the change.

So in short - I give up (for now at least).  

Sorry about the noise.

llvm-svn: 321628
2018-01-01 18:23:28 +00:00
..
CMakeLists.txt
ParseAST.cpp C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
ParseCXXInlineMethods.cpp PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
ParseDecl.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
ParseDeclCXX.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
ParseExpr.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
ParseExprCXX.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
ParseInit.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-01 21:23:52 +00:00
ParseObjc.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00
ParseOpenMP.cpp [NFC] Modernize enum Declarator::TheContext to a type-safe scoped enum. 2017-12-29 05:41:00 +00:00
ParsePragma.cpp Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
ParseStmt.cpp [NFC] Modernize enum Declarator::TheContext to a type-safe scoped enum. 2017-12-29 05:41:00 +00:00
ParseStmtAsm.cpp Move MS inline asm parser methods out of line to reduce indentation, NFC 2017-10-26 17:07:48 +00:00
ParseTemplate.cpp [NFC] Modernize enum DeclSpecContext into a scoped enum. 2017-12-31 00:06:40 +00:00
ParseTentative.cpp Remove old concepts parsing code 2017-12-07 00:34:20 +00:00
Parser.cpp Again reverting an attempt to convert the DeclSpec enums into scoped enums. 2018-01-01 18:23:28 +00:00