aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-08 09:00:55 +0000
committerChris Lattner <sabre@nondot.org>2008-03-08 09:00:55 +0000
commit9c4bea1fa7291035325575c02d33552a124d8ef3 (patch)
tree0bb0f23b24153c7015d6860a2307842790c340d1
parentcd4fc42896f926ffc081e1c4a8bf4cd647883c14 (diff)
add some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48053 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/TargetInfo.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h
index 017f6d6f29..8923b95c22 100644
--- a/include/clang/Basic/TargetInfo.h
+++ b/include/clang/Basic/TargetInfo.h
@@ -48,12 +48,8 @@ public:
virtual ~TargetInfo();
- ///===---- Target property query methods --------------------------------===//
+ ///===---- Target Data Type Query Methods -------------------------------===//
- /// getTargetDefines - Appends the target-specific #define values for this
- /// target set to the specified buffer.
- virtual void getTargetDefines(std::vector<char> &DefineBuffer) const = 0;
-
/// isCharSigned - Return true if 'char' is 'signed char' or false if it is
/// treated as 'unsigned char'. This is implementation defined according to
/// C99 6.2.5p15. In our implementation, this is target-specific.
@@ -119,7 +115,6 @@ public:
return LongDoubleFormat;
}
-
/// getIntMaxTWidth - Return the size of intmax_t and uintmax_t for this
/// target, in bits.
unsigned getIntMaxTWidth() const {
@@ -127,6 +122,12 @@ public:
return 64;
}
+ ///===---- Other target property query methods --------------------------===//
+
+ /// getTargetDefines - Appends the target-specific #define values for this
+ /// target set to the specified buffer.
+ virtual void getTargetDefines(std::vector<char> &DefineBuffer) const = 0;
+
/// getTargetBuiltins - Return information about target-specific builtins for
/// the current primary target, and info about which builtins are non-portable
/// across the current set of primary and secondary targets.