summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.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
commit059271f62827dfa7bc088f770e53c209015ea7ac (patch)
tree2d13c0eecad8c20be58ad1eaf9dd8588efbb8cc9 /lib/CodeGen/CodeGenFunction.cpp
parentbde32e097ddf8e11f4297369284cf573614ea2fe (diff)
downloadclang-059271f62827dfa7bc088f770e53c209015ea7ac.tar.gz
clang-059271f62827dfa7bc088f770e53c209015ea7ac.tar.bz2
clang-059271f62827dfa7bc088f770e53c209015ea7ac.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions