OSDN Git Service

Fix some GCC warnings by providing a virtual destructor in the base of a class
authorChandler Carruth <chandlerc@gmail.com>
Mon, 23 Aug 2010 08:25:07 +0000 (08:25 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 23 Aug 2010 08:25:07 +0000 (08:25 +0000)
commit54f616304240fcbc41ca9b9b2af38eeb1171e8a8
tree868588b658de0a590993351bfecbc64d23f33fd9
parent4654a07e254b13d168e5470394c4d954cc260d03
Fix some GCC warnings by providing a virtual destructor in the base of a class
hierarchy with virtual methods and using llvm_unreachable to properly indicate
unreachable states which would otherwise leave variables uninitialized.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111803 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
utils/TableGen/ClangAttrEmitter.cpp