From: Chris Lattner Date: Fri, 25 Jul 2003 17:34:17 +0000 (+0000) Subject: Use the C++ header, not the C header X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d957518b51ec853a115f277f8c080e6d55b4fd7c;p=oota-llvm.git Use the C++ header, not the C header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7310 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/Annotation.h b/include/Support/Annotation.h index d0eca3d4dc4..f4b7c28202f 100644 --- a/include/Support/Annotation.h +++ b/include/Support/Annotation.h @@ -16,7 +16,7 @@ #define SUPPORT_ANNOTATION_H #include -#include +#include class AnnotationID; class Annotation; diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index c1548c82f9b..5e163749682 100644 --- a/include/llvm/AbstractTypeUser.h +++ b/include/llvm/AbstractTypeUser.h @@ -21,15 +21,14 @@ #ifndef LLVM_ABSTRACT_TYPE_USER_H #define LLVM_ABSTRACT_TYPE_USER_H -// -// This is the "master" include for assert.h -// Whether this file needs it or not, it must always include assert.h for the -// files which include llvm/AbstractTypeUser.h +// This is the "master" include for Whether this file needs it or not, +// it must always include for the files which include +// llvm/AbstractTypeUser.h // // In this way, most every LLVM source file will have access to the assert() -// macro without having to #include directly. +// macro without having to #include directly. // -#include "Config/assert.h" +#include class Type; class DerivedType; diff --git a/include/llvm/Analysis/DSSupport.h b/include/llvm/Analysis/DSSupport.h index 7ba9b0c43ca..ae9d52a8692 100644 --- a/include/llvm/Analysis/DSSupport.h +++ b/include/llvm/Analysis/DSSupport.h @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include "Support/HashExtras.h" #include "Support/hash_set" diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h index 7ba9b0c43ca..ae9d52a8692 100644 --- a/include/llvm/Analysis/DataStructure/DSSupport.h +++ b/include/llvm/Analysis/DataStructure/DSSupport.h @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include "Support/HashExtras.h" #include "Support/hash_set" diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h index d0eca3d4dc4..f4b7c28202f 100644 --- a/include/llvm/Support/Annotation.h +++ b/include/llvm/Support/Annotation.h @@ -16,7 +16,7 @@ #define SUPPORT_ANNOTATION_H #include -#include +#include class AnnotationID; class Annotation;