diff options
author | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
commit | be583b914d8156b99d3da264d5adca37fee8dbc9 (patch) | |
tree | da884b147eb2f4dbcaf253225e26f82899ec3553 /include/llvm/Support | |
parent | aff713cca56dced4a1423f6cbab666ea30e93c23 (diff) |
Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/Annotation.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/CFG.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/CommandLine.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 1 | ||||
-rw-r--r-- | include/llvm/Support/Timer.h | 2 |
6 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h index d9c02db832..8dbad760d7 100644 --- a/include/llvm/Support/Annotation.h +++ b/include/llvm/Support/Annotation.h @@ -16,6 +16,7 @@ #define SUPPORT_ANNOTATION_H #include <string> +#include <assert.h> class AnnotationID; class Annotation; class Annotable; diff --git a/include/llvm/Support/CFG.h b/include/llvm/Support/CFG.h index aab0db9712..7e2774a688 100644 --- a/include/llvm/Support/CFG.h +++ b/include/llvm/Support/CFG.h @@ -13,6 +13,8 @@ #include "llvm/InstrTypes.h" #include "Support/iterator" +#include <assert.h> + //===--------------------------------------------------------------------===// // BasicBlock pred_iterator definition //===--------------------------------------------------------------------===// diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index aafef95f56..b524c977f7 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -19,6 +19,8 @@ #include <cstdarg> #include "boost/type_traits/object_traits.hpp" +#include <assert.h> + /// cl Namespace - This namespace contains all of the command line option /// processing machinery. It is intentionally a short name to make qualified /// usage concise. diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 7141c2fb26..e4508a366f 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -44,6 +44,8 @@ #define LLVM_SUPPORT_INSTVISITOR_H #include "llvm/Instruction.h" +#include <assert.h> + class Module; // We operate on opaque instruction classes, so forward declare all instruction diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index c324161f30..a1d525f21a 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -20,6 +20,7 @@ #include "llvm/Pass.h" #include <algorithm> #include <iostream> +#include <assert.h> //===----------------------------------------------------------------------===// // PassNameParser class - Make use of the pass registration mechanism to diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h index e89f32feab..40ab643928 100644 --- a/include/llvm/Support/Timer.h +++ b/include/llvm/Support/Timer.h @@ -29,6 +29,8 @@ #include <vector> #include <iosfwd> +#include <assert.h> + class TimerGroup; class Timer { |