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

Unified Diff: src/IceGlobalInits.cpp

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/IceGlobalInits.h ('k') | src/IceInst.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalInits.cpp
diff --git a/src/IceGlobalInits.cpp b/src/IceGlobalInits.cpp
index 4f209f8002507d9880c71999a9c7cb58887239e5..c9bdf9908191e578de7834eb4f62d58a8136d70e 100644
--- a/src/IceGlobalInits.cpp
+++ b/src/IceGlobalInits.cpp
@@ -123,8 +123,9 @@ void VariableDeclaration::dumpType(Ostream &Stream) const {
void VariableDeclaration::dump(GlobalContext *Ctx, Ostream &Stream) const {
if (!ALLOW_DUMP)
return;
- Stream << "@" << ((Ctx && !getSuppressMangling())
- ? Ctx->mangleName(Name) : Name) << " = ";
+ Stream << "@"
+ << ((Ctx && !getSuppressMangling()) ? Ctx->mangleName(Name) : Name)
+ << " = ";
::dumpLinkage(Stream, Linkage);
Stream << " " << (IsConstant ? "constant" : "global") << " ";
@@ -158,8 +159,8 @@ void VariableDeclaration::Initializer::dumpType(Ostream &Stream) const {
Stream << "[" << getNumBytes() << " x " << Ice::IceType_i8 << "]";
}
-void VariableDeclaration::DataInitializer::dump(
- GlobalContext *, Ostream &Stream) const {
+void VariableDeclaration::DataInitializer::dump(GlobalContext *,
+ Ostream &Stream) const {
if (!ALLOW_DUMP)
return;
dumpType(Stream);
@@ -176,8 +177,8 @@ void VariableDeclaration::DataInitializer::dump(
Stream << "\"";
}
-void VariableDeclaration::ZeroInitializer::dump(
- GlobalContext *, Ostream &Stream) const {
+void VariableDeclaration::ZeroInitializer::dump(GlobalContext *,
+ Ostream &Stream) const {
if (!ALLOW_DUMP)
return;
dumpType(Stream);
@@ -190,8 +191,8 @@ void VariableDeclaration::RelocInitializer::dumpType(Ostream &Stream) const {
Stream << Ice::IceType_i32;
}
-void VariableDeclaration::RelocInitializer::dump(
- GlobalContext *Ctx, Ostream &Stream) const {
+void VariableDeclaration::RelocInitializer::dump(GlobalContext *Ctx,
+ Ostream &Stream) const {
if (!ALLOW_DUMP)
return;
if (Offset != 0) {
« no previous file with comments | « src/IceGlobalInits.h ('k') | src/IceInst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698