diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-14 15:46:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-14 15:46:59 +0000 |
commit | 5fb00c5893ab62bc2c2ea6ae972d8841b6cc9add (patch) | |
tree | d8274f89b4700184c4beff09673037b269b0f1e8 /include/llvm | |
parent | 979c38ba207cf2383b761f2bdd09146b05573239 (diff) | |
download | external_llvm-5fb00c5893ab62bc2c2ea6ae972d8841b6cc9add.zip external_llvm-5fb00c5893ab62bc2c2ea6ae972d8841b6cc9add.tar.gz external_llvm-5fb00c5893ab62bc2c2ea6ae972d8841b6cc9add.tar.bz2 |
Make sure any client of Dominators.h links in Dominators.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 736e508..11d4b98 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -268,6 +268,9 @@ struct DominatorSet : public DominatorSetBase { AU.addRequired<ImmediateDominators>(); AU.setPreservesAll(); } + + // stub - dummy function, just ignore it + static void stub(); }; @@ -506,6 +509,9 @@ private: const DominatorTree::Node *Node); }; +// Make sure that any clients of this file link in Dominators.cpp +static IncludeFile +DOMINATORS_INCLUDE_FILE((void*)&DominatorSet::stub); } // End llvm namespace #endif |