[lldb] Reland "Refactor guard variable checks in IRForTarget"
authorRaphael Isemann <teemperor@gmail.com>
Tue, 13 Aug 2019 13:09:18 +0000 (13:09 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 13 Aug 2019 13:09:18 +0000 (13:09 +0000)
commit7f7b2966f7be82a33543808ae33269199798429b
tree9c074cf94c4ed2c54aa2d2a81e1c91f7ec5c0bf6
parent73f702ff192475b27039325a7428ce037771a5de
[lldb] Reland "Refactor guard variable checks in IRForTarget"

It seems the broken guard variable check for Windows was a feature(TM)
and not a bug, so let's keep add a flag to the guard check that keeps
the old behavior in the places where we ignored guard variables before.

llvm-svn: 368688
lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp