llvm-project/clang/lib/Sema
Kazu Hirata 35b4fbb559 [clang] Use std::nullopt instead of None in comments (NFC)
This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-04 15:57:24 -08: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 [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
ScopeInfo.cpp [clang] Disallow mixing SEH and Objective-C exceptions 2021-10-20 14:18:12 -04:00
Sema.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaAccess.cpp [C++2b] Implement multidimentional subscript operator 2022-02-08 12:10:47 -05:00
SemaAttr.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaAvailability.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08: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] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaCodeComplete.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
SemaConcept.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaConsumer.cpp
SemaCoroutine.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaDecl.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaDeclAttr.cpp [Driver] llvm::Optional => std::optional 2022-12-03 20:17:05 +00:00
SemaDeclCXX.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaDeclObjC.cpp [modules] Fix marking `ObjCMethodDecl::isOverriding` when there are no overrides. 2022-11-24 14:26:02 -08:00
SemaExceptionSpec.cpp [OPENMP]Initial support for error directive. 2022-11-02 14:25:28 -07:00
SemaExpr.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaExprCXX.cpp [Clang] Adjust assert from Sema::BuildCXXTypeConstructExpr 2022-12-01 09:40:18 -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 [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08: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 [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaLambda.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaLookup.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaModule.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaObjCProperty.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaOpenMP.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaOverload.cpp [clang] Use std::nullopt instead of None in comments (NFC) 2022-12-04 15:57:24 -08:00
SemaPseudoObject.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08: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 [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08: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 [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaTemplateDeduction.cpp [clang][NFC] Use c++17 style variable type traits 2022-11-07 18:25:48 +00:00
SemaTemplateInstantiate.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaTemplateInstantiateDecl.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaTemplateVariadic.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
SemaType.cpp [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -08:00
TreeTransform.h [Sema] Use std::nullopt instead of None (NFC) 2022-12-03 11:13:39 -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