llvm-project/clang/lib/Sema
Aaron Puchert 85fce449dc [Sema] Simplify ShouldDiagnoseUnusedDecl, NFC
Instead of writing to a flag and then returning based on that flag we
can also return directly. The flag name also doesn't provide additional
information, it just reflects the name of the function (isReferenced).
2020-08-29 18:42:58 +02: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp [clang]: Remove assertion which checks explicit declaration 2020-08-20 18:15:43 -07:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp [OPENMP]Simplify representation for atomic, critical, master and section 2020-08-07 09:58:23 -04: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 Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp PR42104: Support instantiations of lambdas that implicitly capture 2019-06-04 17:17:20 +00:00
Sema.cpp [OPENMP]Fix PR47158, case 2: do not report host-only functions in unused function in device mode. 2020-08-19 16:14:33 -04:00
SemaAccess.cpp [c++20] Delete defaulted comparison functions if they would invoke an 2019-12-10 19:28:30 -08:00
SemaAttr.cpp Replace setter named 'getAsOpaqueInt' with a real getter. 2020-08-16 16:38:33 -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 [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp [Sema] Use the proper cast for a fixed bool enum. 2020-08-16 18:40:08 +02:00
SemaChecking.cpp [ADT] Move FixedPoint.h from Clang to LLVM. 2020-08-20 10:29:45 +02:00
SemaCodeComplete.cpp [clang] Make signature help work with dependent args 2020-08-17 10:06:36 +02:00
SemaConcept.cpp [clang][NFC] Remove spurious +x flag on SemaConcept.cpp 2020-07-26 17:10:59 +01:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp [NFC] Edit the comment for the return type of await_suspend 2020-07-29 10:20:55 +08:00
SemaDecl.cpp [Sema] Simplify ShouldDiagnoseUnusedDecl, NFC 2020-08-29 18:42:58 +02:00
SemaDeclAttr.cpp [X86] Add support 'tune' in target attribute 2020-08-19 15:58:19 -07:00
SemaDeclCXX.cpp Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
SemaDeclObjC.cpp [clang] Don't make ObjCIvarDecl visible twice when adding them to an implicit ObjCInterfaceDecl 2020-08-11 16:24:32 +02:00
SemaExceptionSpec.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
SemaExpr.cpp [Sema][AArch64] Support arm_sve_vector_bits attribute 2020-08-27 10:38:32 +00:00
SemaExprCXX.cpp [Sema][AArch64] Support arm_sve_vector_bits attribute 2020-08-27 10:38:32 +00:00
SemaExprMember.cpp Improve modeling of variable template specializations with dependent 2020-08-09 23:22:26 -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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp [clang] Check `expr` inside `InitListChecker::UpdateStructuredListElement()` 2020-08-12 22:12:43 +03:00
SemaLambda.cpp [clang][NFC] Pass the ASTContext to CXXRecordDecl::setCaptures 2020-07-29 14:55:15 +01:00
SemaLookup.cpp PR30738: Implement two-phase name lookup for fold-expressions. 2020-08-06 16:56:39 -07:00
SemaModule.cpp [DeclCXX] Remove unknown external linkage specifications 2019-11-21 15:23:05 +02:00
SemaObjCProperty.cpp [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
SemaOpenMP.cpp [OPENMP]Do not crash for globals in inner regions with outer target 2020-08-27 17:07:53 -04:00
SemaOverload.cpp [Sema] ICK_Function_Conversion is a third kind conversion 2020-08-29 18:42:36 +02: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 [AST] add parenthesis locations for IfStmt and SwitchStmt 2020-08-10 19:19:51 -07: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 Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -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 PR37556: Don't diagnose conflicts between instantiated unqualified 2020-08-24 23:26:15 -07:00
SemaTemplateVariadic.cpp PR47025, PR47043: Diagnose unexpanded parameter packs in concept 2020-08-07 18:19:39 -07:00
SemaType.cpp [Sema][AArch64] Support arm_sve_vector_bits attribute 2020-08-27 10:38:32 +00:00
TreeTransform.h Replace setter named 'getAsOpaqueInt' with a real getter. 2020-08-16 16:38:33 -07:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
UsedDeclVisitor.h recommit 1b978ddba0 [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese 2020-03-23 12:09:07 -04:00