llvm-project/clang/lib/Sema
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
..
AnalysisBasedWarnings.cpp Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
CMakeLists.txt [NFC] [DirectX backend] move ResourceClass into llvm. 2022-10-20 13:26:56 -07:00
CodeCompleteConsumer.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
CoroutineStmtBuilder.h
DeclSpec.cpp Update a stale comment; NFC 2022-11-01 10:47:30 -04:00
DelayedDiagnostic.cpp
HLSLExternalSemaSource.cpp [clang] Add [is|set]Nested methods to NamespaceDecl 2022-11-24 12:44:35 +00:00
IdentifierResolver.cpp [HLSL] Support cbuffer/tbuffer for hlsl. 2022-09-21 10:07:43 -07:00
JumpDiagnostics.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
MultiplexExternalSemaSource.cpp [NFC] Make MultiplexExternalSemaSource own sources 2022-09-02 13:57:39 -05:00
OpenCLBuiltins.td [OpenCL] Guard depth image builtins 2022-09-13 10:10:48 +01:00
ParsedAttr.cpp [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
Scope.cpp Use value instead of getValue (NFC) 2022-07-29 21:18:41 -07:00
ScopeInfo.cpp [clang] Disallow mixing SEH and Objective-C exceptions 2021-10-20 14:18:12 -04:00
Sema.cpp Revert "[clang] ASTImporter: Fix importing of va_list types and declarations" 2022-10-31 19:34:23 +01:00
SemaAccess.cpp [C++2b] Implement multidimentional subscript operator 2022-02-08 12:10:47 -05:00
SemaAttr.cpp [clang] Add support for #pragma strict_gs_check 2022-09-19 20:07:14 +00:00
SemaAvailability.cpp [HLSL] Enable availability attribute 2022-09-16 16:04:27 -05:00
SemaCUDA.cpp Don't use Optional::getPointer (NFC) 2022-11-21 19:03:40 -08:00
SemaCXXScopeSpec.cpp NFC: [clang] Template argument cleanups. 2022-10-25 00:29:56 +02:00
SemaCast.cpp [Clang][Sema] Add -Wcast-function-type-strict 2022-10-26 20:38:37 +00:00
SemaChecking.cpp [Sema] check InitListExpr format strings like {"foo"} 2022-11-23 04:58:19 +08:00
SemaCodeComplete.cpp [clangd] Add heuristic for dropping snippet when completing member function pointer 2022-11-17 00:37:16 +01:00
SemaConcept.cpp [Concepts] Correctly handle failure when checking concepts recursively 2022-11-01 12:18:58 -07:00
SemaConsumer.cpp
SemaCoroutine.cpp [C++20] [Coroutines] Exit early if we found co_await appears in 2022-10-09 14:59:27 +08:00
SemaDecl.cpp [OpenCL] Fix diagnostics with templates in kernel args. 2022-11-10 18:55:12 +00:00
SemaDeclAttr.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
SemaDeclCXX.cpp [clang] Add [is|set]Nested methods to NamespaceDecl 2022-11-24 12:44:35 +00:00
SemaDeclObjC.cpp [ODRHash] Detect duplicate `ObjCProtocolDecl` ODR mismatches during parsing. 2022-11-17 18:31:32 -08:00
SemaExceptionSpec.cpp [OPENMP]Initial support for error directive. 2022-11-02 14:25:28 -07:00
SemaExpr.cpp [Clang][Sema] Add -Wincompatible-function-pointer-types-strict 2022-11-07 23:05:28 +00:00
SemaExprCXX.cpp [C++20] [Modules] Attach implicitly declared allocation funcitons to 2022-11-15 17:21:48 +08:00
SemaExprMember.cpp [Sema] Use the value category of the base expression when creating an 2022-11-15 17:14:48 -08:00
SemaExprObjC.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
SemaFixItUtils.cpp Do not suggest taking the address of a const pointer to get void* 2022-11-23 18:43:06 +00:00
SemaHLSL.cpp [HLSL] Support cbuffer/tbuffer for hlsl. 2022-09-21 10:07:43 -07:00
SemaInit.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
SemaLambda.cpp "Reapply "GH58368: Correct concept checking in a lambda defined in concept"" 2022-10-24 12:36:54 -07:00
SemaLookup.cpp Reenable POSIX builtin library functions in gnu2x mode 2022-11-02 08:00:25 -04:00
SemaModule.cpp [NFC] Remove unused codes after 4a7be42d92 2022-11-18 11:52:44 +08:00
SemaObjCProperty.cpp [clang/Sema] Fix non-deterministic order for certain kind of diagnostics 2022-10-05 12:58:01 -07:00
SemaOpenMP.cpp [OPENMP5.1] Initial support for message clause. 2022-11-18 17:59:23 -08:00
SemaOverload.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
SemaPseudoObject.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaRISCVVectorLookup.cpp [clang][RISCV][NFC] Prevent data race in RVVType::computeType 2022-11-23 16:59:19 +08:00
SemaSYCL.cpp [SYCL] Diagnose uses of zero length arrays 2021-12-29 15:30:18 +03:00
SemaStmt.cpp [clang] Use x.empty() instead of llvm::empty(x) (NFC) 2022-09-18 11:07:50 -07:00
SemaStmtAsm.cpp [Clang] reject bit-fields as instruction operands in Microsoft style inline asm blocks. 2022-10-10 15:45:02 -04:00
SemaStmtAttr.cpp [Clang][Sema] Refactor category declaration under CheckForIncompatibleAttributes. NFC 2022-11-15 14:37:27 -08:00
SemaTemplate.cpp [clang][sema][NFC] Make some local variables const 2022-11-18 16:19:09 +01:00
SemaTemplateDeduction.cpp [clang][NFC] Use c++17 style variable type traits 2022-11-07 18:25:48 +00:00
SemaTemplateInstantiate.cpp Revert "Implement CWG2631" 2022-11-04 22:10:50 +01:00
SemaTemplateInstantiateDecl.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
SemaTemplateVariadic.cpp [clang] Track the templated entity in type substitution. 2022-10-15 22:08:36 +02:00
SemaType.cpp [clang][Sema] Fix a clang crash with btf_type_tag 2022-11-01 08:07:13 -07:00
TreeTransform.h [OPENMP5.1] Initial support for message clause. 2022-11-18 17:59:23 -08:00
TypeLocBuilder.cpp [clang] Implement sugared substitution changes to infrastructure 2022-10-27 06:18:07 +02:00
TypeLocBuilder.h [clang] Implement sugared substitution changes to infrastructure 2022-10-27 06:18:07 +02:00
UsedDeclVisitor.h [HIP][OpenMP] Fix assertion in deferred diag 2021-10-25 11:07:40 -04:00