diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-03 00:44:15 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-03 00:44:15 +0000 |
commit | ea32047660159811a4c14d008a4b7e3807a705d6 (patch) | |
tree | d0659e6eda48db6f2d75e788f34d539393f0de85 /lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | 31b57628576a2355428fd4b57f828a3aa8423000 (diff) |
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. Use the current scope
location as a separate parameter so that we can match it up
better in the line table with the beginning of the scope.
Update a couple of testcases accordingly since I had to change
that we actually use the passed in location in EmitFunctionStart
and for the new metadata parameter and add a new testcase to
make sure we've got the right line numbers for synthesized
properties.
Part of rdar://11026482
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions