llvm-project/clang/lib/Sema
Saleem Abdulrasool 765a219431 Sema: correct typo correction for ivars in @implementation
The previous typo correction handling assumed that ivars are only declared in
the interface declaration rather than as a private ivar in the implementation.
Adjust the handling to permit both interfaces.  Assert earlier that the
interface has been acquired to ensure that we can identify when both possible
casts have failed.

Addresses PR31040!

llvm-svn: 287238
2016-11-17 17:10:54 +00:00
..
AnalysisBasedWarnings.cpp [coroutines] Build fallthrough and set_exception statements. 2016-10-27 07:30:31 +00:00
AttributeList.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
CMakeLists.txt It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit. 2016-06-01 15:17:54 +00:00
CodeCompleteConsumer.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
DeclSpec.cpp [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
DelayedDiagnostic.cpp [Sema] Delay partial availability diagnostics, just like deprecated 2016-10-28 21:39:27 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp [Sema] Handle CaseStmt and DefaultStmt as SwitchCase 2016-10-26 02:00:00 +00:00
MultiplexExternalSemaSource.cpp [Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map. 2016-10-10 16:26:08 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [Sema][NFC] Reset HasFallthroughStmt when clearing FunctionScopeInfo 2016-11-09 22:52:23 +00:00
Sema.cpp Fix for PR28523: unexpected compilation error. 2016-11-11 12:36:20 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
SemaCUDA.cpp [CUDA] Use only the GVALinkage on function definitions. 2016-11-08 23:45:51 +00:00
SemaCXXScopeSpec.cpp Fix a crash on invalid code. 2016-10-28 00:15:24 +00:00
SemaCast.cpp [Sema] Allow static_cast<T&&>(e) to check explicit conversions for non-reference-related types. 2016-11-03 02:13:17 +00:00
SemaChecking.cpp Add warning when assigning enums to bitfields without an explicit unsigned underlying type 2016-11-16 23:40:00 +00:00
SemaCodeComplete.cpp [CodeCompletion] Show block invocation results for block property setters 2016-11-09 13:43:18 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types. 2016-10-27 18:43:28 +00:00
SemaDecl.cpp Use descriptive message if list initializer is incorrectly parenthesized. 2016-11-12 15:38:55 +00:00
SemaDeclAttr.cpp [Sema] Range-ify for loop, add period to comment. NFC. 2016-11-10 21:47:12 +00:00
SemaDeclCXX.cpp Correctly ignore unnamed bit-fields when checking whether a union has fields. 2016-11-08 01:07:26 +00:00
SemaDeclObjC.cpp [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. 2016-11-09 02:47:07 +00:00
SemaExceptionSpec.cpp [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for 2016-10-22 01:32:19 +00:00
SemaExpr.cpp Revert "Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64." 2016-11-14 12:19:18 +00:00
SemaExprCXX.cpp Fixed spelling in comments. NFCI. 2016-11-15 18:28:07 +00:00
SemaExprMember.cpp Sema: correct typo correction for ivars in @implementation 2016-11-17 17:10:54 +00:00
SemaExprObjC.cpp Add an assert to further check the invariant that a null pointer 2016-11-04 06:11:54 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Remove unnecessary distinction between Ref_Compatible and 2016-10-21 23:01:55 +00:00
SemaLambda.cpp [OPENMP] Fix for PR30632: Name mangling issue. 2016-11-15 13:15:20 +00:00
SemaLookup.cpp [Frontend] Allow attaching an external sema source to compiler instance and extra diags to TypoCorrections 2016-11-16 18:15:26 +00:00
SemaObjCProperty.cpp [ObjC] Remove _Atomic from return type and parameter type of 2016-05-26 00:37:30 +00:00
SemaOpenMP.cpp Re-apply patch r279045. 2016-10-25 12:50:55 +00:00
SemaOverload.cpp Use the member function location in enable_if diagnostics. 2016-11-16 21:31:25 +00:00
SemaPseudoObject.cpp PR25890: Fix incoherent error handling in PerformImplicitConversion and 2016-10-06 23:12:58 +00:00
SemaStmt.cpp [CUDA] Add Sema::CUDADiagBuilder and Sema::CUDADiagIf{Device,Host}Code(). 2016-10-13 18:45:08 +00:00
SemaStmtAsm.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
SemaStmtAttr.cpp Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
SemaTemplate.cpp Rangify for loop, NFC. 2016-11-16 13:45:34 +00:00
SemaTemplateDeduction.cpp p0012: Teach resolving address of overloaded function with dependent exception 2016-11-01 01:31:23 +00:00
SemaTemplateInstantiate.cpp Fix spelling mistake. 2016-11-03 17:11:28 +00:00
SemaTemplateInstantiateDecl.cpp [Sema] Fix a bug in enable_if condition instantiation. 2016-11-17 01:33:54 +00:00
SemaTemplateVariadic.cpp PR26276: Fix detection of non-cast-expressions as operands of fold-expressions. 2016-10-20 00:55:15 +00:00
SemaType.cpp [OpenCL] Use the semantic spelling of the Access attribute, rather than a string. 2016-11-16 11:34:09 +00:00
TreeTransform.h [coroutines] Build fallthrough and set_exception statements. 2016-10-27 07:30:31 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00