diff options
Diffstat (limited to 'llvm/include/llvm/PassSupport.h')
-rw-r--r-- | llvm/include/llvm/PassSupport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/PassSupport.h b/llvm/include/llvm/PassSupport.h index ab90217ce4a8..e95ed7a1d88f 100644 --- a/llvm/include/llvm/PassSupport.h +++ b/llvm/include/llvm/PassSupport.h @@ -17,6 +17,10 @@ // //===----------------------------------------------------------------------===// +#if !defined(LLVM_PASS_H) || defined(LLVM_PASSSUPPORT_H) +#error "Do not include <PassSupport.h>; include <Pass.h> instead" +#endif + #ifndef LLVM_PASSSUPPORT_H #define LLVM_PASSSUPPORT_H |