]> granicus.if.org Git - clang/commit
Change location information for synthesized properties to be at the
authorEric Christopher <echristo@apple.com>
Fri, 30 Mar 2012 01:07:48 +0000 (01:07 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 30 Mar 2012 01:07:48 +0000 (01:07 +0000)
commit7435054a965eefb7ab29c0a8caa6698ec435b9f7
tree28348cd3f1566c7b29652ced326b967519e9a875
parent84392d0edc7127f868d3c97484ffc9d789c317ff
Change location information for synthesized properties to be at the
property file/line rather than the @synthesize file/line. Avoids
some nasty confusing-ness with conflating the file from the scope
and the line from the original declaration.

Update a couple of testcases accordingly since I had to change
that we actually use the passed in location in EmitFunctionStart.

Fixes rdar://11026482

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/debug-info-block-helper.m
test/CodeGenObjC/debug-property-synth.m