llvm-project/clang/lib/Sema
Mark de Wever 08196e0b2e Implements [[likely]] and [[unlikely]] in IfStmt.
This is the initial part of the implementation of the C++20 likelihood
attributes. It handles the attributes in an if statement.

Differential Revision: https://reviews.llvm.org/D85091
2020-09-09 20:48:37 +02:00
..
AnalysisBasedWarnings.cpp Thread safety analysis: More consistent warning message 2020-09-01 23:16:05 +02: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 [FPEnv] Partially implement #pragma STDC FENV_ROUND 2020-09-04 16:47:10 +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 Revert 3e782bf809 "[Sema][MSVC] warn at dynamic_cast when /GR- is given" 2020-09-08 16:10:18 +02:00
SemaChecking.cpp Don't take the expression range into account when looking for widening 2020-09-01 17:42:12 -07: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 [Ignore Expressions][NFC] Refactor to better use `IgnoreExpr.h` and nits 2020-09-07 09:32:30 +00:00
SemaExprCXX.cpp Revert 3e782bf809 "[Sema][MSVC] warn at dynamic_cast when /GR- is given" 2020-09-08 16:10:18 +02: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] Fix infinite loop in Sema::isOpenMPGlobalCapturedDecl() 2020-09-01 08:45:38 -04:00
SemaOverload.cpp Remove unused and dangerous overload of PerformImplicitConversion. 2020-09-03 15:35:12 -07: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 Implements [[likely]] and [[unlikely]] in IfStmt. 2020-09-09 20:48:37 +02:00
SemaStmtAsm.cpp Prohibit capture of _ExtInt in inline assembly. 2020-05-14 07:21:09 -07:00
SemaStmtAttr.cpp Implements [[likely]] and [[unlikely]] in IfStmt. 2020-09-09 20:48:37 +02: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: extract a check for `isCFError` (NFC) 2020-09-08 20:07:47 +00:00
TreeTransform.h [clang] Limit the maximum level of fold-expr expansion. 2020-09-08 15:40:09 +02: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