aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/AbstractTypeUser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/AbstractTypeUser.h')
-rw-r--r--include/llvm/AbstractTypeUser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h
index c083366d3f..ee3fde033e 100644
--- a/include/llvm/AbstractTypeUser.h
+++ b/include/llvm/AbstractTypeUser.h
@@ -14,6 +14,10 @@
#ifndef LLVM_ABSTRACT_TYPE_USER_H
#define LLVM_ABSTRACT_TYPE_USER_H
+// IMPORTANT: Do not include this file directly. Include Type.h instead.
+// Some versions of GCC can't handle the inlined method PATypeHolder::dropRef()
+// correctly otherwise.
+
// This is the "master" include for <cassert> Whether this file needs it or not,
// it must always include <cassert> for the files which include
// llvm/AbstractTypeUser.h