llvm-project/clang/lib/Sema
Christopher Di Bella 425a83a5f0 [Sema] adds basic -Wfree-nonheap-object functionality
Checks to make sure that stdlib's (std::)free is being appropriately
used. Presently checks for the following misuses:

- free(&stack_object)
- free(stack_array)

Differential Revision: https://reviews.llvm.org/D89988
2020-10-28 16:18:23 -07:00
..
AnalysisBasedWarnings.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04: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 Better source location for -Wignored-qualifiers on trailing return types 2020-10-28 23:32:57 +01: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 [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
Sema.cpp [Clang][PowerPC] Add __vector_pair and __vector_quad types 2020-10-28 13:19:20 -05:00
SemaAccess.cpp [c++20] Delete defaulted comparison functions if they would invoke an 2019-12-10 19:28:30 -08:00
SemaAttr.cpp [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
SemaAvailability.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaCUDA.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp [AST][RecoveryExpr] Support dependent cast-expr in C for error-recovery. 2020-10-08 10:00:29 +02:00
SemaChecking.cpp [Sema] adds basic -Wfree-nonheap-object functionality 2020-10-28 16:18:23 -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 [Coroutine][Sema] Only tighten the suspend call temp lifetime for final awaiter 2020-10-12 12:00:20 -07:00
SemaDecl.cpp PR48002: Fix injection of elaborated-type-specifiers within local 2020-10-28 14:29:45 -07:00
SemaDeclAttr.cpp [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
SemaDeclCXX.cpp Revert "Revert "Ensure that checkInitIsICE is called exactly once for every variable"" 2020-10-26 12:08:57 -07:00
SemaDeclObjC.cpp Ensure that InheritedAttrs are properly inherited along a redeclaration 2020-10-12 19:22:31 -07:00
SemaExceptionSpec.cpp Switch the default of VerifyIntegerConstantExpression from constant 2020-10-15 16:58:47 -07:00
SemaExpr.cpp [Clang][PowerPC] Add __vector_pair and __vector_quad types 2020-10-28 13:19:20 -05:00
SemaExprCXX.cpp Switch the default of VerifyIntegerConstantExpression from constant 2020-10-15 16:58:47 -07:00
SemaExprMember.cpp Improve modeling of variable template specializations with dependent 2020-08-09 23:22:26 -07:00
SemaExprObjC.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -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 [c++20] For P0732R2 / P1907R1: Basic frontend support for class types as 2020-10-21 13:21:41 -07:00
SemaLambda.cpp [AST][FPEnv] Keep FP options in trailing storage of CastExpr 2020-09-14 12:15:21 +07:00
SemaLookup.cpp [c++20] For P0732R2: Support string literal operator templates. 2020-10-25 00:34:15 -07:00
SemaModule.cpp [DeclCXX] Remove unknown external linkage specifications 2019-11-21 15:23:05 +02:00
SemaObjCProperty.cpp [AST][FPEnv] Keep FP options in trailing storage of CastExpr 2020-09-14 12:15:21 +07:00
SemaOpenMP.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaOverload.cpp [clang] Suppress "follow-up" diagnostics on recovery call expressions. 2020-10-26 12:40:00 +01:00
SemaPseudoObject.cpp Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
SemaSYCL.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaStmt.cpp [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
SemaStmtAsm.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaStmtAttr.cpp Implements [[likely]] and [[unlikely]] in IfStmt. 2020-09-09 20:48:37 +02:00
SemaTemplate.cpp Remove unused variable name. NFC. 2020-10-27 17:48:50 -07:00
SemaTemplateDeduction.cpp [c++20] For P0732R2: permit class template argument deduction for non-type template parameters. 2020-10-21 15:03:22 -07:00
SemaTemplateInstantiate.cpp [c++20] For P0732R2: Give class NTTPs the proper type when examined with 'decltype'. 2020-10-21 14:15:54 -07:00
SemaTemplateInstantiateDecl.cpp [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
SemaTemplateVariadic.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaType.cpp Better source location for -Wignored-qualifiers on trailing return types 2020-10-28 23:32:57 +01:00
TreeTransform.h [NFC] Fixes Doxygen copy-paste error. 2020-10-21 21:19:04 +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 DeferredDiagnosticsEmitter crashes 2020-10-08 11:42:21 -04:00