summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LineEditor/LineEditor.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-04-01 22:25:28 +0000
committerEric Christopher <echristo@gmail.com>2014-04-01 22:25:28 +0000
commit885c41b28c2ecbdf83027a377dd5b1a5a616101b (patch)
tree9ba79cbee92009ade016fe034a2f8ce7cc8cdfff /llvm/lib/LineEditor/LineEditor.cpp
parent91567b6700ff7975cae34b28ec28b5281b33ff19 (diff)
downloadbcm5719-llvm-885c41b28c2ecbdf83027a377dd5b1a5a616101b.tar.gz
bcm5719-llvm-885c41b28c2ecbdf83027a377dd5b1a5a616101b.zip
Partially revert r204517 and fix a different way:
We don't want to encourage the code to emit a lexical block for a function that needs one in order for the line table to change, we need to grab the line information from the body of the pattern that we were instantiated from, this code should do that. Modify the test case to ensure that we're still looking in the right place for all of the scopes and also that we haven't created a lexical block where we didn't need one. llvm-svn: 205368
Diffstat (limited to 'llvm/lib/LineEditor/LineEditor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud