[cfe-commits] r48053 - /cfe/trunk/include/clang/Basic/TargetInfo.h
Chris Lattner
sabre at nondot.org
Sat Mar 8 01:00:55 PST 2008
Author: lattner
Date: Sat Mar 8 03:00:55 2008
New Revision: 48053
URL: http://llvm.org/viewvc/llvm-project?rev=48053&view=rev
Log:
add some comments.
Modified:
cfe/trunk/include/clang/Basic/TargetInfo.h
Modified: cfe/trunk/include/clang/Basic/TargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TargetInfo.h?rev=48053&r1=48052&r2=48053&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/TargetInfo.h (original)
+++ cfe/trunk/include/clang/Basic/TargetInfo.h Sat Mar 8 03:00:55 2008
@@ -48,12 +48,8 @@
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 @@
return LongDoubleFormat;
}
-
/// getIntMaxTWidth - Return the size of intmax_t and uintmax_t for this
/// target, in bits.
unsigned getIntMaxTWidth() const {
@@ -127,6 +122,12 @@
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.
More information about the cfe-commits
mailing list