projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat linebreaks.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Format.h
diff --git
a/include/llvm/Support/Format.h
b/include/llvm/Support/Format.h
index 4319a3ba2745acd4f57c07baecaa7d36b60a4b9c..b4233eed28ba18f424da4d8058f7c77f60a5fa87 100644
(file)
--- a/
include/llvm/Support/Format.h
+++ b/
include/llvm/Support/Format.h
@@
-118,6
+118,7
@@
class FormattedString {
unsigned Width;
bool RightJustify;
friend class raw_ostream;
unsigned Width;
bool RightJustify;
friend class raw_ostream;
+
public:
FormattedString(StringRef S, unsigned W, bool R)
: Str(S), Width(W), RightJustify(R) { }
public:
FormattedString(StringRef S, unsigned W, bool R)
: Str(S), Width(W), RightJustify(R) { }
@@
-146,6
+147,7
@@
class FormattedNumber {
bool Upper;
bool HexPrefix;
friend class raw_ostream;
bool Upper;
bool HexPrefix;
friend class raw_ostream;
+
public:
FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
bool Prefix)
public:
FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
bool Prefix)
@@
-188,7
+190,6
@@
inline FormattedNumber format_decimal(int64_t N, unsigned Width) {
return FormattedNumber(0, N, Width, false, false, false);
}
return FormattedNumber(0, N, Width, false, false, false);
}
-
} // end namespace llvm
#endif
} // end namespace llvm
#endif