Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: src/IceInstX8632.h

Issue 877003003: Subzero: Use a "known" version of clang-format. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a clang-format blacklist. Fix formatting "errors". Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceInstX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstX8632.h
diff --git a/src/IceInstX8632.h b/src/IceInstX8632.h
index e63e6289fac9b8d0f0f0e1994843dc1eae54f1d2..7725ad72a43c9b3dd71154bebb13e767d9a407c6 100644
--- a/src/IceInstX8632.h
+++ b/src/IceInstX8632.h
@@ -34,11 +34,7 @@ class OperandX8632 : public Operand {
OperandX8632 &operator=(const OperandX8632 &) = delete;
public:
- enum OperandKindX8632 {
- k__Start = Operand::kTarget,
- kMem,
- kSplit
- };
+ enum OperandKindX8632 { k__Start = Operand::kTarget, kMem, kSplit };
using Operand::dump;
void dump(const Cfg *, Ostream &Str) const override {
if (ALLOW_DUMP)
@@ -110,10 +106,7 @@ class VariableSplit : public OperandX8632 {
VariableSplit &operator=(const VariableSplit &) = delete;
public:
- enum Portion {
- Low,
- High
- };
+ enum Portion { Low, High };
static VariableSplit *create(Cfg *Func, Variable *Var, Portion Part) {
return new (Func->allocate<VariableSplit>()) VariableSplit(Func, Var, Part);
}
@@ -1464,8 +1457,7 @@ class InstX8632Push : public InstX8632 {
public:
static InstX8632Push *create(Cfg *Func, Variable *Source) {
- return new (Func->allocate<InstX8632Push>())
- InstX8632Push(Func, Source);
+ return new (Func->allocate<InstX8632Push>()) InstX8632Push(Func, Source);
}
void emit(const Cfg *Func) const override;
void emitIAS(const Cfg *Func) const override;
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceInstX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698