llvm-project/clang/lib/Sema
Bruno Ricci 19701458d4
[clang][nearly-NFC] Remove some superfluous uses of NamedDecl::getNameAsString
`OS << ND->getDeclName();` is equivalent to `OS << ND->getNameAsString();`
without the extra temporary string.

This is not quite a NFC since two uses of `getNameAsString` in a
diagnostic are replaced, which results in the named entity being
quoted with additional "'"s (ie: 'var' instead of var).
2020-08-05 13:54:37 +01:00
..
AnalysisBasedWarnings.cpp [clang][nearly-NFC] Remove some superfluous uses of NamedDecl::getNameAsString 2020-08-05 13:54:37 +01:00
CMakeLists.txt On Windows build, making the /bigobj flag global , instead of passing it per file. 2020-07-28 18:04:36 -05:00
CodeCompleteConsumer.cpp Remove llvm::Error include form Diagnostic.h 2020-04-06 10:42:17 -07:00
CoroutineStmtBuilder.h
DeclSpec.cpp For PR46800, implement the GCC __builtin_complex builtin. 2020-07-22 13:43:10 -07:00
DelayedDiagnostic.cpp
IdentifierResolver.cpp
JumpDiagnostics.cpp [CodeGen] Emit destructor calls to destruct compound literals 2020-03-10 14:08:28 -07:00
MultiplexExternalSemaSource.cpp Merge some of the PCH object support with modular codegen 2020-07-22 12:46:12 -07:00
OpenCLBuiltins.td [OpenCL] Add sub-group builtin functions 2020-04-02 13:18:56 +01:00
ParsedAttr.cpp [Sema] Silence warnings when targeting x86 with VS2019 16.5.4 2020-05-06 09:11:59 -04:00
Scope.cpp
ScopeInfo.cpp
Sema.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
SemaAccess.cpp
SemaAttr.cpp Reapply "Rename/refactor isIntegerConstantExpression to getIntegerConstantExpression" 2020-07-21 20:57:12 -07:00
SemaAvailability.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaCUDA.cpp recommit 4fc752b30b [CUDA][HIP] Always defer diagnostics for wrong-sided reference 2020-07-17 09:14:39 -04:00
SemaCXXScopeSpec.cpp
SemaCast.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
SemaChecking.cpp [clang][nearly-NFC] Remove some superfluous uses of NamedDecl::getNameAsString 2020-08-05 13:54:37 +01:00
SemaCodeComplete.cpp [CodeComplete] Add code completion after function equals 2020-07-01 12:51:25 +08:00
SemaConcept.cpp [clang][NFC] Remove spurious +x flag on SemaConcept.cpp 2020-07-26 17:10:59 +01:00
SemaConsumer.cpp
SemaCoroutine.cpp [NFC] Edit the comment for the return type of await_suspend 2020-07-29 10:20:55 +08:00
SemaDecl.cpp Permit nowthrow and nonnull with multiversioning. 2020-08-04 07:40:27 -07:00
SemaDeclAttr.cpp [clang][NFC] clang-format fix after eb10b065f2 2020-07-29 14:55:16 +01:00
SemaDeclCXX.cpp [clang][NFC] Add 'override' keyword to virtual function overrides 2020-07-14 08:59:57 -07:00
SemaDeclObjC.cpp [AST/Lex/Parse/Sema] As part of using inclusive language within 2020-06-20 01:15:32 -07:00
SemaExceptionSpec.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
SemaExpr.cpp [CUDA][HIP] Support accessing static device variable in host code for -fno-gpu-rdc 2020-08-05 07:57:38 -04:00
SemaExprCXX.cpp [AST][FPEnv] Keep FP options in trailing storage of CallExpr 2020-07-24 12:04:19 +07:00
SemaExprMember.cpp Don't form a 'context-independent expr' reference to a member during 2020-07-27 19:38:22 -07:00
SemaExprObjC.cpp [SemaObjC] Add a warning for @selector expressions that potentially refer to objc_direct methods 2020-07-07 13:29:54 -04:00
SemaFixItUtils.cpp
SemaInit.cpp [clang] Set the error-bit for ill-formed semantic InitListExpr. 2020-07-21 09:39:44 +02:00
SemaLambda.cpp [clang][NFC] Pass the ASTContext to CXXRecordDecl::setCaptures 2020-07-29 14:55:15 +01:00
SemaLookup.cpp DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
SemaModule.cpp
SemaObjCProperty.cpp [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
SemaOpenMP.cpp [OpenMP] Implement TR8 `present` motion modifier in Clang (1/2) 2020-07-29 12:18:45 -04:00
SemaOverload.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
SemaPseudoObject.cpp Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
SemaSYCL.cpp [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
SemaStmt.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
SemaStmtAsm.cpp Prohibit capture of _ExtInt in inline assembly. 2020-05-14 07:21:09 -07:00
SemaStmtAttr.cpp Reapply "Rename/refactor isIntegerConstantExpression to getIntegerConstantExpression" 2020-07-21 20:57:12 -07:00
SemaTemplate.cpp PR46729: Reject explicit and partial specializations with C linkage. 2020-07-29 17:44:32 -07:00
SemaTemplateDeduction.cpp DR2303: Prefer 'nearer' base classes during template deduction. 2020-07-31 05:39:55 -07:00
SemaTemplateInstantiate.cpp PR46648: Do not eagerly instantiate default arguments for a generic 2020-07-09 17:24:20 -07:00
SemaTemplateInstantiateDecl.cpp [OpenCL] Defer addr space deduction for dependent type. 2020-07-13 11:44:38 +01:00
SemaTemplateVariadic.cpp PR46377: Fix dependence calculation for function types and typedef 2020-07-28 13:23:13 -07:00
SemaType.cpp [clang] Use the location of the void parameters when complaining that only a single void parameter should be present. 2020-07-31 20:36:58 +01:00
TreeTransform.h [OpenMP] Implement TR8 `present` motion modifier in Clang (1/2) 2020-07-29 12:18:45 -04:00
TypeLocBuilder.cpp
TypeLocBuilder.h
UsedDeclVisitor.h recommit 1b978ddba0 [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese 2020-03-23 12:09:07 -04:00