summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ProcessTest.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-10 18:30:07 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-10 18:30:07 +0000
commit34b3dcc3b5e391e04276081bb5aecc42073d3e63 (patch)
tree36792a26736fe486e8913a1a0236cff8808f3512 /llvm/unittests/Support/ProcessTest.cpp
parent19ae779af1c6f89dd0285ebc9b846300d378a0b6 (diff)
downloadbcm5719-llvm-34b3dcc3b5e391e04276081bb5aecc42073d3e63.tar.gz
bcm5719-llvm-34b3dcc3b5e391e04276081bb5aecc42073d3e63.zip
Debug Info: define a DIRef template.
Specialize the constructors for DIRef<DIScope> and DIRef<DIType> to make sure the Value is indeed a scope ref and a type ref. Use DIScopeRef for DIScope::getContext and DIType::getContext and use DITypeRef for getContainingType and getClassType. DIScope::generateRef now returns a DIScopeRef instead of a "Value *" for readability and type safety. llvm-svn: 190418
Diffstat (limited to 'llvm/unittests/Support/ProcessTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud