Reformat all cpp and h files.
This applies git cl format --full to all ANGLE sources.
Bug: angleproject:2986
Change-Id: Ib504e618c1589332a37e97696cdc3515d739308f
Reviewed-on: https://chromium-review.googlesource.com/c/1351367
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
diff --git a/src/compiler/translator/Compiler.cpp b/src/compiler/translator/Compiler.cpp
index 6f9b7e1..95082d9 100644
--- a/src/compiler/translator/Compiler.cpp
+++ b/src/compiler/translator/Compiler.cpp
@@ -296,12 +296,9 @@
mGeometryShaderInvocations(0),
mGeometryShaderInputPrimitiveType(EptUndefined),
mGeometryShaderOutputPrimitiveType(EptUndefined)
-{
-}
+{}
-TCompiler::~TCompiler()
-{
-}
+TCompiler::~TCompiler() {}
bool TCompiler::shouldRunLoopAndIndexingValidation(ShCompileOptions compileOptions) const
{
@@ -790,7 +787,7 @@
{
if ((compileOptions & SH_EMULATE_GL_DRAW_ID) != 0)
{
- for (auto& uniform : mUniforms)
+ for (auto &uniform : mUniforms)
{
if (uniform.name == "angle_DrawID" && uniform.mappedName == "angle_DrawID")
{
@@ -950,7 +947,7 @@
mNameMap.clear();
- mSourcePath = nullptr;
+ mSourcePath = nullptr;
mSymbolTable.clearCompilationResults();
}
@@ -1067,8 +1064,7 @@
public:
UnusedPredicate(const CallDAG *callDag, const std::vector<FunctionMetadata> *metadatas)
: mCallDag(callDag), mMetadatas(metadatas)
- {
- }
+ {}
bool operator()(TIntermNode *node)
{