aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index a4035cb1fb..1d77644052 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -201,7 +201,7 @@ public:
/// TargetData subsystem to do this.
///
bool isSized() const {
- // If it's a primative, it is always sized.
+ // If it's a primitive, it is always sized.
if (ID >= BoolTyID && ID <= DoubleTyID || ID == PointerTyID)
return true;
// If it is not something that can have a size (e.g. a function or label),