llvm-project/clang/lib/Serialization
Argyrios Kyrtzidis 33b4bfcef5 [AST/libclang] Fix the selector locations that are reported for a
method definition that has its '{' attached to the method name without
a space.

With a method like:

-(id)meth{
.....
}

the logic in ObjCMethodDecl that determined the selector locations got
confused because it was initialized based on an end location for '{' but
that end location changed to '}' after the method was finished.

Fix this by having an immutable end location for the declarator and
for getLocEnd() get the end location from the body itself.

Fixes rdar://11659739.

llvm-svn: 158583
2012-06-16 00:46:02 +00:00
..
ASTCommon.cpp Restore r142914 and r142915, now with missing file and apparent 2011-10-25 17:37:35 +00:00
ASTCommon.h When deserializing the definition of a C++ class/ObjC class/ObjC 2012-01-15 18:08:05 +00:00
ASTReader.cpp Switch LineTableInfo to use FileID instead of int for file references, 2012-06-08 16:40:28 +00:00
ASTReaderDecl.cpp [AST/libclang] Fix the selector locations that are reported for a 2012-06-16 00:46:02 +00:00
ASTReaderInternals.h Implement the all_lookups_iterator for PCH as a follow-up to r153970. This 2012-04-16 02:51:46 +00:00
ASTReaderStmt.cpp Etch out the code path for MS-style inline assembly. 2012-06-11 20:47:18 +00:00
ASTWriter.cpp Remove CXXRecordDecl flags which are unused after r158289. 2012-06-10 07:07:24 +00:00
ASTWriterDecl.cpp PR13064: Store whether an in-class initializer uses direct or copy 2012-06-10 03:12:00 +00:00
ASTWriterStmt.cpp Etch out the code path for MS-style inline assembly. 2012-06-11 20:47:18 +00:00
CMakeLists.txt Fix cmake build with -DBUILD_SHARED_LIBS=ON. 2011-12-29 04:31:59 +00:00
GeneratePCH.cpp Revert my patches which removed Diagnostic.h includes by moving some operator overloads out of line. 2012-02-07 22:29:24 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Use forward declarations for ASTDeclContextNameLookupTable and add a missing delete. 2012-04-15 12:36:49 +00:00
ModuleManager.cpp Optimize unqualified/global name lookup in modules by introducing a 2012-01-18 20:56:22 +00:00