summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-24 22:31:10 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-24 22:31:10 +0000
commit43edb32f1f032c366ad06faec09832912f538ba6 (patch)
treec2aefe872230813f17a7b1e56007334f8f0a41fe /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent9190e19b6609ae889cd7d9f82e31a81a2267d7af (diff)
downloadbcm5719-llvm-43edb32f1f032c366ad06faec09832912f538ba6.tar.gz
bcm5719-llvm-43edb32f1f032c366ad06faec09832912f538ba6.zip
Rework Microsoft __if_exists/__if_not_exists parsing and semantic
analysis to separate dependent names from non-dependent names. For dependent names, we'll behave differently from Visual C++: - For __if_exists/__if_not_exists at class scope, we'll just warn and then ignore them. - For __if_exists/__if_not_exists in statements, we'll treat the inner statement as a compound statement, which we only instantiate in templates where the dependent name (after instantiation) exists. This behavior is different from VC++, but it's as close as we can get without encroaching ridiculousness. The latter part (dependent statements) is not yet implemented. llvm-svn: 142864
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud