llvm-project/clang/lib/Sema
Aaron Ballman e4a42c5b64 Change __auto_type behavior with qualifiers to match GCC behavior
Currently, Clang handles some qualifiers correctly for __auto_type, but
it does not handle the restrict or _Atomic qualifiers in the same way
that GCC does. This patch handles those qualifiers so that they attach
to the deduced type the same as const and volatile already do.

This fixes https://github.com/llvm/llvm-project/issues/53652
2022-03-23 13:25:31 -04:00
..
AnalysisBasedWarnings.cpp [clang] Remove redundant member initialization (NFC) 2022-01-02 10:20:23 -08:00
CMakeLists.txt [clang] Make libBasic not depend on MC 2021-04-28 12:16:22 -04:00
CodeCompleteConsumer.cpp [CodeCompletion] Signature help for aggregate initialization. 2022-01-04 16:00:22 +01:00
CoroutineStmtBuilder.h
DeclSpec.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
DelayedDiagnostic.cpp
IdentifierResolver.cpp
JumpDiagnostics.cpp [clang] Add range accessor for ObjCAtTryStmt catch_stmts and use it 2021-10-27 08:57:05 -04:00
MultiplexExternalSemaSource.cpp [clang][AST] Improve AST Reader/Writer memory footprint 2021-05-20 15:34:29 -07:00
OpenCLBuiltins.td [OpenCL] Guard write_only image3d_t with TypeExtension 2022-03-21 12:45:58 +00:00
ParsedAttr.cpp Allow parameter pack expansions and initializer lists in annotate attribute 2022-02-08 13:38:07 -05:00
Scope.cpp [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
ScopeInfo.cpp [clang] Disallow mixing SEH and Objective-C exceptions 2021-10-20 14:18:12 -04:00
Sema.cpp Currently the control of the eval-method is mixed with fast-math. 2022-03-17 11:48:03 -07:00
SemaAccess.cpp [C++2b] Implement multidimentional subscript operator 2022-02-08 12:10:47 -05:00
SemaAttr.cpp Currently the control of the eval-method is mixed with fast-math. 2022-03-17 11:48:03 -07:00
SemaAvailability.cpp [clang] Convert a few loops to for-each 2021-10-11 14:24:32 -04:00
SemaCUDA.cpp Use llvm::append_range instead of push_back loops where applicable. NFCI. 2022-03-18 01:25:34 +01:00
SemaCXXScopeSpec.cpp [AST] Add more source information for DecltypeTypeLoc. 2022-01-10 09:34:18 +01:00
SemaCast.cpp [clang][sema] TryStaticCast - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 11:14:19 +00:00
SemaChecking.cpp Add validation for number of arguments of __builtin_memcpy_inline 2022-03-18 14:03:25 +00:00
SemaCodeComplete.cpp Use llvm::append_range instead of push_back loops where applicable. NFCI. 2022-03-18 01:25:34 +01:00
SemaConcept.cpp [NFC] move CheckInstantiatedFunctionTemplateConstraints to SemaConcepts.cpp 2022-03-03 11:47:20 -08:00
SemaConsumer.cpp
SemaCoroutine.cpp Use llvm::append_range instead of push_back loops where applicable. NFCI. 2022-03-18 01:25:34 +01:00
SemaDecl.cpp [clang] NFC: Rename 'MVType' variables to 'MVKind' for consistency with their type. 2022-03-21 13:39:43 -04:00
SemaDeclAttr.cpp [Clang][NFC] Some `const` for `IdentifierInfo *`s feeding `DeclarationName` 2022-03-23 11:07:56 -04:00
SemaDeclCXX.cpp [Clang] Fix PR28101 2022-03-24 00:38:45 +08:00
SemaDeclObjC.cpp Reland "[clang][ObjC] Add fix it for missing methods in impl" 2022-01-06 10:55:02 -05:00
SemaExceptionSpec.cpp [OpenMP] Initial parsing/sema for the 'omp parallel loop' construct 2022-03-22 13:55:47 -07:00
SemaExpr.cpp Change __auto_type behavior with qualifiers to match GCC behavior 2022-03-23 13:25:31 -04:00
SemaExprCXX.cpp Revert "[clang] roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable""." 2022-03-23 04:54:00 -07:00
SemaExprMember.cpp [Clang] Allow "ext_vector_type" applied to Booleans 2022-03-16 11:10:32 +01:00
SemaExprObjC.cpp [clang] Fix bugprone argument comments (NFC) 2022-01-09 00:19:49 -08:00
SemaFixItUtils.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaInit.cpp [Format, Sema] Use range-based for loops with llvm::reverse (NFC) 2021-11-17 08:52:35 -08:00
SemaLambda.cpp [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
SemaLookup.cpp [C++20][Modules][8/8] Amend module visibility rules for partitions. 2022-03-01 08:29:05 +00:00
SemaModule.cpp [clang] Sema::ActOnModuleImport - remove superfluous nullptr test 2022-03-09 11:40:36 +00:00
SemaObjCProperty.cpp [Clang][Sema] Fix attribute mismatch warning for ObjC class properties 2022-01-11 12:10:18 +00:00
SemaOpenMP.cpp [OpenMP] Initial parsing/sema for the 'omp parallel loop' construct 2022-03-22 13:55:47 -07:00
SemaOverload.cpp Use llvm::append_range instead of push_back loops where applicable. NFCI. 2022-03-18 01:25:34 +01:00
SemaPseudoObject.cpp [clang] NFC: Rename rvalue to prvalue 2021-06-09 12:27:10 +02:00
SemaSYCL.cpp [SYCL] Diagnose uses of zero length arrays 2021-12-29 15:30:18 +03:00
SemaStmt.cpp [clang] [concepts] Check constrained-auto return types for void-returning functions 2022-03-04 12:43:06 -05:00
SemaStmtAsm.cpp [Inline-asm] Add diagnosts for unsupported inline assembly arguments 2022-03-23 11:25:19 +08:00
SemaStmtAttr.cpp [Clang] noinline stmt attribute - emit warnings rather than errors 2022-03-14 23:40:17 +01:00
SemaTemplate.cpp [NFC][Clang] Fix a couple of typos 2022-03-05 09:45:04 +01:00
SemaTemplateDeduction.cpp [Concepts] Fix placeholder constraints when references are involved 2022-03-23 11:14:58 -04:00
SemaTemplateInstantiate.cpp [NFC] Change TemplateInstantiator to refer to the base using a typedef 2022-03-03 09:12:05 -08:00
SemaTemplateInstantiateDecl.cpp [clang] Fix wrong -Wunused-local-typedef warning within a template function 2022-03-21 13:21:25 +02:00
SemaTemplateVariadic.cpp Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
SemaType.cpp Change __auto_type behavior with qualifiers to match GCC behavior 2022-03-23 13:25:31 -04:00
TreeTransform.h [OpenMP] Initial parsing/sema for the 'omp parallel loop' construct 2022-03-22 13:55:47 -07:00
TypeLocBuilder.cpp
TypeLocBuilder.h
UsedDeclVisitor.h [HIP][OpenMP] Fix assertion in deferred diag 2021-10-25 11:07:40 -04:00