llvm-project/clang/lib/Parse
Nathan James 15e76eed0c
[clang] Add [is|set]Nested methods to NamespaceDecl
Adds support for NamespaceDecl to inform if its part of a nested namespace.
This flag only corresponds to the inner namespaces in a nested namespace declaration.
In this example:
namespace <X>::<Y>::<Z> {}
Only <Y> and <Z> will be classified as nested.

This flag isn't meant for assisting in building the AST, more for static analysis and refactorings.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D90568
2022-11-24 12:44:35 +00:00
..
CMakeLists.txt [HLSL] Add Semantic syntax, and SV_GroupIndex 2022-04-14 10:21:58 -05:00
ParseAST.cpp [C++] [Modules] Generate the initializer for modules if we compile a 2022-09-19 11:30:34 +08:00
ParseCXXInlineMethods.cpp Revert "Implement CWG2631" 2022-11-04 22:10:50 +01:00
ParseDecl.cpp [clang][Parse][NFC] Remove unused CommaLocs parameters 2022-11-18 04:54:00 +01:00
ParseDeclCXX.cpp [clang] Add [is|set]Nested methods to NamespaceDecl 2022-11-24 12:44:35 +00:00
ParseExpr.cpp [clang][Parse] Remove constant expression from if condition 2022-11-22 17:31:21 +01:00
ParseExprCXX.cpp [clang][Parse][NFC] Remove unused CommaLocs parameters 2022-11-18 04:54:00 +01:00
ParseHLSL.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParseInit.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
ParseObjc.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParseOpenMP.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParsePragma.cpp [Clang] Improve diagnostic message for loop hint pragma 2022-10-28 01:51:24 -07:00
ParseStmt.cpp [clang][parse] Avoid creating StmtVectors every loop iteration 2022-11-18 16:19:09 +01:00
ParseStmtAsm.cpp [clang] Fix bugprone argument comments (NFC) 2022-01-09 00:19:49 -08:00
ParseTemplate.cpp [P0857R0 Part-B] Allows `require' clauses appearing in 2022-10-27 06:41:43 -07:00
ParseTentative.cpp [Concepts] Improve diagnostics on a missing 'auto' keyword. 2022-11-01 11:39:46 -07:00
Parser.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00