reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/Driver/MultilibTest.cpp
  202   for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) {
  202   for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) {
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  204     ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
  207         << "Multilib " << *I << " wasn't expected";
  208     ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
  209                     .Case("", hasFlag(*I, "-sof"))
  210                     .Case("/sof", hasFlag(*I, "+sof"))
  211                     .Case("/el", hasFlag(*I, "-sof"))
  212                     .Case("/sof/el", hasFlag(*I, "+sof"))
  214         << "Multilib " << *I << " didn't have the appropriate {+,-}sof flag";
  215     ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix())
  216                     .Case("", hasFlag(*I, "-EL"))
  217                     .Case("/sof", hasFlag(*I, "-EL"))
  218                     .Case("/el", hasFlag(*I, "+EL"))
  219                     .Case("/sof/el", hasFlag(*I, "+EL"))
  221         << "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";