diff options
author | Hartmut Kaiser <hartmut.kaiser@gmail.com> | 2007-10-17 14:56:40 +0000 |
---|---|---|
committer | Hartmut Kaiser <hartmut.kaiser@gmail.com> | 2007-10-17 14:56:40 +0000 |
commit | efd4a5144b03f61ebfd53d0245176f95e1170fb8 (patch) | |
tree | ae6b915d1e467e108f69328b1f3d069eb2cade1c /include/llvm/Support | |
parent | c623096fe227a7705ccac5a5db514b64ccdfe6b2 (diff) | |
download | external_llvm-efd4a5144b03f61ebfd53d0245176f95e1170fb8.zip external_llvm-efd4a5144b03f61ebfd53d0245176f95e1170fb8.tar.gz external_llvm-efd4a5144b03f61ebfd53d0245176f95e1170fb8.tar.bz2 |
Updated VC++ build system.
Silenced some VC warnings.
I'm getting linker errors, though: unresolved externals:
llvm::Split<class llvm::BasicBlock *,struct llvm::GraphTraits<class llvm::BasicBlock *> >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *)
and
llvm::Split<struct llvm::Inverse<class llvm::BasicBlock *>,struct llvm::GraphTraits<struct llvm::Inverse<class llvm::BasicBlock *> > >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *)
Where are these defined?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/Registry.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/llvm/Support/Registry.h b/include/llvm/Support/Registry.h index 6f11ef1..7488773 100644 --- a/include/llvm/Support/Registry.h +++ b/include/llvm/Support/Registry.h @@ -67,7 +67,10 @@ namespace llvm { private: Registry(); // Do not implement. - static void Announce(node *); + static void Announce(const entry &E) { + for (listener *Cur = ListenerHead; Cur; Cur = Cur->Next) + Cur->registered(E); + } friend class node; static node *Head, *Tail; @@ -229,13 +232,6 @@ namespace llvm { } }; - - private: - static void Announce(const entry &E) { - for (listener *Cur = ListenerHead; Cur; Cur = Cur->Next) - Cur->registered(E); - } - }; } |