aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorAxel Naumann <Axel.Naumann@cern.ch>2012-10-04 07:34:43 +0000
committerAxel Naumann <Axel.Naumann@cern.ch>2012-10-04 07:34:43 +0000
commitc6848efaac6836930ac9558060628cb094db3ff9 (patch)
tree0930ac0de7c86c8e5cf8fac6acc31d1e75f71561 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parentcb13fff13d939c70183a9277b7449aa15be6268e (diff)
downloadllvm-c6848efaac6836930ac9558060628cb094db3ff9.zip
llvm-c6848efaac6836930ac9558060628cb094db3ff9.tar.gz
llvm-c6848efaac6836930ac9558060628cb094db3ff9.tar.bz2
Fix r165005: The lexical DeclContext is not the right place to make a decision about whether we need to call tryAddTopLevelDecl or not. That call should be made when the DeclContext's redeclaration context is the translation unit.
llvm-svn: 165215
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions