Skip to content
  1. Nov 27, 2012
  2. Nov 26, 2012
  3. Nov 25, 2012
    • Rafael Espindola's avatar
      befe130d
    • Rafael Espindola's avatar
      Add a basic testcase for the "variable is not needed" warning and one that · 48cf0dc3
      Rafael Espindola authored
      regressed in r168519.
      
      llvm-svn: 168563
      48cf0dc3
    • Alexey Samsonov's avatar
      Fix test case for linking with sanitizer opts added in r168428. · e0619f52
      Alexey Samsonov authored
      llvm-svn: 168562
      e0619f52
    • NAKAMURA Takumi's avatar
      Revert r168519, "Merge used flags so that we don't have to iterate on isUsed. With this change" · c232cb85
      NAKAMURA Takumi authored
      It brought bunch of (possibly false) warnings.
      
      llvm/unittests/VMCore/PassManagerTest.cpp:60:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          char ModuleNDNM::ID=0;
                           ^
      llvm/unittests/VMCore/PassManagerTest.cpp:86:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          char ModuleNDM2::ID=0;
                           ^
      llvm/unittests/VMCore/PassManagerTest.cpp:106:21: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          char ModuleDNM::ID=0;
                          ^
      llvm/unittests/VMCore/PassManagerTest.cpp:217:16: warning: variable 'initcount' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          int LPass::initcount=0;
                     ^
      llvm/unittests/VMCore/PassManagerTest.cpp:218:16: warning: variable 'fincount' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          int LPass::fincount=0;
                     ^
      llvm/unittests/VMCore/PassManagerTest.cpp:259:16: warning: variable 'inited' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          int BPass::inited=0;
                     ^
      llvm/unittests/VMCore/PassManagerTest.cpp:260:16: warning: variable 'fin' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          int BPass::fin=0;
                     ^
      llvm/unittests/VMCore/PassManagerTest.cpp:283:24: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
          char OnTheFlyTest::ID=0;
                             ^
      8 warnings generated.
      
      llvm-svn: 168549
      c232cb85
  4. Nov 24, 2012
  5. Nov 23, 2012
  6. Nov 22, 2012
  7. Nov 21, 2012
  8. Nov 20, 2012
Loading