Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@94ed832097) Add clang format workflow (zeroc-ice/…
Browse files Browse the repository at this point in the history
  • Loading branch information
externl authored and temp committed Mar 8, 2024
1 parent 07455cc commit 8107b98
Show file tree
Hide file tree
Showing 1,687 changed files with 2,506 additions and 2,506 deletions.
4 changes: 2 additions & 2 deletions slice2cpp/cpp/src/IceGrid/Internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1698,11 +1698,11 @@ IceGrid::ReplicaSessionPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<
{
ex.ice_throw();
}
catch(const AdapterExistsException&)
catch(const AdapterNotExistException&)
{
throw;
}
catch(const AdapterNotExistException&)
catch(const AdapterExistsException&)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cpp/js/test/typescript/Ice/exceptions/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ Test::ThrowerPrx::_iceI_throwAorDasAorD(const ::std::shared_ptr<::IceInternal::O
{
ex.ice_throw();
}
catch(const A&)
catch(const D&)
{
throw;
}
catch(const D&)
catch(const A&)
{
throw;
}
Expand Down
32 changes: 16 additions & 16 deletions slice2cs/cpp/src/IceGrid/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7559,11 +7559,11 @@ private void _iceI_setAdapterDirectProxy(string iceP_adapterId, string iceP_repl
{
throw ex;
}
catch(AdapterExistsException)
catch(AdapterNotExistException)
{
throw;
}
catch(AdapterNotExistException)
catch(AdapterExistsException)
{
throw;
}
Expand Down Expand Up @@ -9388,16 +9388,16 @@ public abstract class NodeDisp_ : global::Ice.ObjectImpl, Node

#region Inherited Slice operations

public abstract long getOffsetFromEnd(string filename, int lines, global::Ice.Current current = null);

public abstract bool read(string filename, long pos, int size, out long newPos, out string[] lines, global::Ice.Current current = null);

public abstract void replicaInit(InternalRegistryPrx[] replicas, global::Ice.Current current = null);

public abstract void replicaAdded(InternalRegistryPrx replica, global::Ice.Current current = null);

public abstract void replicaRemoved(InternalRegistryPrx replica, global::Ice.Current current = null);

public abstract long getOffsetFromEnd(string filename, int lines, global::Ice.Current current = null);

public abstract bool read(string filename, long pos, int size, out long newPos, out string[] lines, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down Expand Up @@ -9982,6 +9982,16 @@ public abstract class DatabaseObserverDisp_ : global::Ice.ObjectImpl, DatabaseOb
{
#region Inherited Slice operations

public abstract void applicationInit(int serial, ApplicationInfo[] applications, global::Ice.Current current = null);

public abstract void applicationAdded(int serial, ApplicationInfo desc, global::Ice.Current current = null);

public abstract void applicationRemoved(int serial, string name, global::Ice.Current current = null);

public abstract void applicationUpdated(int serial, ApplicationUpdateInfo desc, global::Ice.Current current = null);

public abstract void adapterInit(AdapterInfo[] adpts, global::Ice.Current current = null);

public abstract void adapterAdded(AdapterInfo info, global::Ice.Current current = null);

public abstract void adapterUpdated(AdapterInfo info, global::Ice.Current current = null);
Expand All @@ -9996,16 +10006,6 @@ public abstract class DatabaseObserverDisp_ : global::Ice.ObjectImpl, DatabaseOb

public abstract void objectRemoved(global::Ice.Identity id, global::Ice.Current current = null);

public abstract void applicationInit(int serial, ApplicationInfo[] applications, global::Ice.Current current = null);

public abstract void applicationAdded(int serial, ApplicationInfo desc, global::Ice.Current current = null);

public abstract void applicationRemoved(int serial, string name, global::Ice.Current current = null);

public abstract void applicationUpdated(int serial, ApplicationUpdateInfo desc, global::Ice.Current current = null);

public abstract void adapterInit(AdapterInfo[] adpts, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down
224 changes: 112 additions & 112 deletions slice2cs/cpp/test/Ice/operations/Test.cs

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions slice2cs/cpp/test/Ice/operations/TestAMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13342,6 +13342,40 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

#region Inherited Slice operations

public abstract global::System.Threading.Tasks.Task shutdownAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task opVoidAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStructResult> opStructAsync(Structure p1, Structure p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSResult> opByteSAsync(byte[] p1, byte[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSResult> opBoolSAsync(bool[] p1, bool[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSResult> opShortIntLongSAsync(short[] p1, int[] p2, long[] p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSResult> opFloatDoubleSAsync(float[] p1, double[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSResult> opStringSAsync(string[] p1, string[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSSResult> opByteSSAsync(byte[][] p1, byte[][] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSSResult> opBoolSSAsync(bool[][] p1, bool[][] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSSResult> opShortIntLongSSAsync(short[][] p1, int[][] p2, long[][] p3, global::Ice.Current current = null);
Expand Down Expand Up @@ -13450,40 +13484,6 @@ public abstract class MyDerivedClassDisp_ : global::Ice.ObjectImpl, MyDerivedCla

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict2MarshaledResult> opMDict2Async(global::System.Collections.Generic.Dictionary<string, string> p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task shutdownAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task opVoidAsync(global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteResult> opByteAsync(byte p1, byte p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolResult> opBoolAsync(bool p1, bool p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongResult> opShortIntLongAsync(short p1, int p2, long p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleResult> opFloatDoubleAsync(float p1, double p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringResult> opStringAsync(string p1, string p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyEnumResult> opMyEnumAsync(MyEnum p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMyClassResult> opMyClassAsync(MyClassPrx p1, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStructResult> opStructAsync(Structure p1, Structure p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSResult> opByteSAsync(byte[] p1, byte[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpBoolSResult> opBoolSAsync(bool[] p1, bool[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpShortIntLongSResult> opShortIntLongSAsync(short[] p1, int[] p2, long[] p3, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpFloatDoubleSResult> opFloatDoubleSAsync(float[] p1, double[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpStringSResult> opStringSAsync(string[] p1, string[] p2, global::Ice.Current current = null);

public abstract global::System.Threading.Tasks.Task<MyClass_OpByteSSResult> opByteSSAsync(byte[][] p1, byte[][] p2, global::Ice.Current current = null);

#endregion

#region Slice type-related members
Expand Down
Loading

0 comments on commit 8107b98

Please sign in to comment.