summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-01-15 02:05:07 +0000
committerSteve Naroff <snaroff@apple.com>2008-01-15 02:05:07 +0000
commit8115902d6c3f9179f5865ecb3662c67b49206a1d (patch)
treed36be0d189078e5dfba038d6413d9cbae2a16266 /clang
parent7f988889ef8a6eb4e7779947da3692885fb36726 (diff)
downloadbcm5719-llvm-8115902d6c3f9179f5865ecb3662c67b49206a1d.tar.gz
bcm5719-llvm-8115902d6c3f9179f5865ecb3662c67b49206a1d.zip
Add a comment...
llvm-svn: 45993
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/Type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h
index 13a000a87cd..9c143e9998c 100644
--- a/clang/include/clang/AST/Type.h
+++ b/clang/include/clang/AST/Type.h
@@ -265,6 +265,9 @@ public:
/// Helper methods to distinguish type categories. All type predicates
/// operate on the canonical type, ignoring typedefs.
+
+ /// isIntegerType() does *not* include complex integers (a GCC extension).
+ /// isComplexIntegerType() can be used to test for complex integers.
bool isIntegerType() const; // C99 6.2.5p17 (int, char, bool, enum)
bool isEnumeralType() const;
bool isBooleanType() const;
OpenPOWER on IntegriCloud