summaryrefslogtreecommitdiff
path: root/include/clang/Basic/AddressSpaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/AddressSpaces.h')
-rw-r--r--include/clang/Basic/AddressSpaces.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/Basic/AddressSpaces.h b/include/clang/Basic/AddressSpaces.h
index 0ec5aafd64b69..95b9b9c7d0b31 100644
--- a/include/clang/Basic/AddressSpaces.h
+++ b/include/clang/Basic/AddressSpaces.h
@@ -45,13 +45,12 @@ enum ID {
// This denotes the count of language-specific address spaces and also
// the offset added to the target-specific address spaces, which are usually
// specified by address space attributes __attribute__(address_space(n))).
- Count
+ FirstTargetAddressSpace
};
/// The type of a lookup table which maps from language-specific address spaces
/// to target-specific ones.
-typedef unsigned Map[Count];
-
+typedef unsigned Map[FirstTargetAddressSpace];
}
}