Skip to content

Commit 401cd0a

Browse files
committed
nit: code format
1 parent 23de679 commit 401cd0a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

clang/lib/Basic/Targets/PPC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,8 @@ bool PPCTargetInfo::initFeatureMap(
524524
llvm::PPC::getPPCDefaultTargetFeatures(TheTriple,
525525
llvm::PPC::normalizeCPUName(CPU));
526526
if (FeaturesOpt.has_value())
527-
Features = FeaturesOpt.value();
528-
527+
Features = FeaturesOpt.value();
528+
529529
if (!ppcUserFeaturesCheck(Diags, FeaturesVec))
530530
return false;
531531

llvm/include/llvm/MC/MCSubtargetInfo.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ struct BasicSubtargetFeatureKV {
4848
return StringRef(Key) < StringRef(Other.Key);
4949
}
5050
BasicSubtargetFeatureKV(const char *Key, unsigned Value,
51-
FeatureBitArray Implies)
51+
FeatureBitArray Implies)
5252
: Key(Key), Value(Value), Implies(Implies) {}
5353
};
5454

5555
struct SubtargetFeatureKV : BasicSubtargetFeatureKV {
56-
const char *Desc; ///< Help descriptor
56+
const char *Desc; ///< Help descriptor
5757
SubtargetFeatureKV(const char *Key, const char *Desc, unsigned Value,
5858
FeatureBitArray Implies)
5959
: BasicSubtargetFeatureKV(Key, Value, Implies), Desc(Desc) {}
@@ -63,8 +63,8 @@ struct SubtargetFeatureKV : BasicSubtargetFeatureKV {
6363

6464
/// Used to provide key value pairs for feature and CPU bit flags.
6565
struct BasicSubtargetSubTypeKV {
66-
const char *Key; ///< K-V key string
67-
FeatureBitArray Implies; ///< K-V bit mask
66+
const char *Key; ///< K-V key string
67+
FeatureBitArray Implies; ///< K-V bit mask
6868

6969
/// Compare routine for std::lower_bound
7070
bool operator<(StringRef S) const {

0 commit comments

Comments
 (0)