diff --git a/.clang-format b/.clang-format index daf87985e..8c73a52fe 100644 --- a/.clang-format +++ b/.clang-format @@ -1,7 +1,8 @@ Language: Cpp IndentWidth: 4 +PointerAlignment: Left BreakBeforeBraces: Custom -BraceWrapping: { AfterFunction: true, AfterControlStatement: true } +BraceWrapping: { AfterFunction: true, AfterControlStatement: false } IndentCaseLabels: false ReflowComments: false ColumnLimit: 120 diff --git a/glslang/MachineIndependent/Intermediate.cpp b/glslang/MachineIndependent/Intermediate.cpp index 5e9c78482..4ec728d0f 100644 --- a/glslang/MachineIndependent/Intermediate.cpp +++ b/glslang/MachineIndependent/Intermediate.cpp @@ -410,7 +410,7 @@ TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOper // // This is the safe way to change the operator on an aggregate, as it // does lots of error checking and fixing. Especially for establishing -// a function call's operation on it's set of parameters. Sequences +// a function call's operation on its set of parameters. Sequences // of instructions are also aggregates, but they just directly set // their operator to EOpSequence. //