99#ifndef LLVM_TARGETPARSER_TRIPLE_H
1010#define LLVM_TARGETPARSER_TRIPLE_H
1111
12- #include " llvm/Support/Compiler.h"
1312#include " llvm/ADT/Twine.h"
13+ #include " llvm/Support/Compiler.h"
1414#include " llvm/Support/VersionTuple.h"
1515
1616// Some system headers or GCC predefined macros conflict with identifiers in
@@ -350,9 +350,10 @@ class Triple {
350350 Triple () = default ;
351351
352352 LLVM_ABI explicit Triple (const Twine &Str);
353- LLVM_ABI Triple (const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
354- LLVM_ABI Triple (const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
355- const Twine &EnvironmentStr);
353+ LLVM_ABI Triple (const Twine &ArchStr, const Twine &VendorStr,
354+ const Twine &OSStr);
355+ LLVM_ABI Triple (const Twine &ArchStr, const Twine &VendorStr,
356+ const Twine &OSStr, const Twine &EnvironmentStr);
356357
357358 bool operator ==(const Triple &Other) const {
358359 return Arch == Other.Arch && SubArch == Other.SubArch &&
@@ -382,8 +383,8 @@ class Triple {
382383 // / reasonably be done). In particular, it handles the common case in which
383384 // / otherwise valid components are in the wrong order. \p Form is used to
384385 // / specify the output canonical form.
385- LLVM_ABI static std::string normalize (StringRef Str,
386- CanonicalForm Form = CanonicalForm::ANY);
386+ LLVM_ABI static std::string
387+ normalize (StringRef Str, CanonicalForm Form = CanonicalForm::ANY);
387388
388389 // / Return the normalized form of this triple's string.
389390 std::string normalize (CanonicalForm Form = CanonicalForm::ANY) const {
@@ -546,7 +547,7 @@ class Triple {
546547 // / Comparison function for checking OS X version compatibility, which handles
547548 // / supporting skewed version numbering schemes used by the "darwin" triples.
548549 LLVM_ABI bool isMacOSXVersionLT (unsigned Major, unsigned Minor = 0 ,
549- unsigned Micro = 0 ) const ;
550+ unsigned Micro = 0 ) const ;
550551
551552 // / Is this a Mac OS X triple. For legacy reasons, we support both "darwin"
552553 // / and "osx" as OS X triples.
@@ -1269,7 +1270,8 @@ class Triple {
12691270 LLVM_ABI static StringRef getArchTypeName (ArchType Kind);
12701271
12711272 // / Get the architecture name based on \p Kind and \p SubArch.
1272- LLVM_ABI static StringRef getArchName (ArchType Kind, SubArchType SubArch = NoSubArch);
1273+ LLVM_ABI static StringRef getArchName (ArchType Kind,
1274+ SubArchType SubArch = NoSubArch);
12731275
12741276 // / Get the "prefix" canonical name for the \p Kind architecture. This is the
12751277 // / prefix used by the architecture specific builtins, and is suitable for
@@ -1288,7 +1290,8 @@ class Triple {
12881290 LLVM_ABI static StringRef getEnvironmentTypeName (EnvironmentType Kind);
12891291
12901292 // / Get the name for the \p Object format.
1291- LLVM_ABI static StringRef getObjectFormatTypeName (ObjectFormatType ObjectFormat);
1293+ LLVM_ABI static StringRef
1294+ getObjectFormatTypeName (ObjectFormatType ObjectFormat);
12921295
12931296 // / @}
12941297 // / @name Static helpers for converting alternate architecture names.
@@ -1300,12 +1303,13 @@ class Triple {
13001303 // / @}
13011304
13021305 // / Returns a canonicalized OS version number for the specified OS.
1303- LLVM_ABI static VersionTuple getCanonicalVersionForOS (OSType OSKind,
1304- const VersionTuple &Version,
1305- bool IsInValidRange);
1306+ LLVM_ABI static VersionTuple
1307+ getCanonicalVersionForOS (OSType OSKind, const VersionTuple &Version,
1308+ bool IsInValidRange);
13061309
13071310 // / Returns whether an OS version is invalid and would not map to an Apple OS.
1308- LLVM_ABI static bool isValidVersionForOS (OSType OSKind, const VersionTuple &Version);
1311+ LLVM_ABI static bool isValidVersionForOS (OSType OSKind,
1312+ const VersionTuple &Version);
13091313};
13101314
13111315} // End llvm namespace
0 commit comments