Skip to content

Commit 88b602b

Browse files
committed
test clang-format
1 parent 4264fc4 commit 88b602b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
- name: clang format diff check
1010
run: |
1111
git fetch origin main
12-
git clang-format-15 --help
12+
git clang-format-15 main --diff

src/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ namespace Aws
358358
void AppendHeaderValueToRequest(
359359
const std::shared_ptr<Http::HttpRequest> &request, String header,
360360
String value) const;
361+
void SomePoorlyFormattedFunction(const Aws::String&arg,const Aws::String&anotherarg, const Aws::String&anotheranotherarg, const Aws::String&anotheranotheranotherarg);
361362
};
362363

363364
AWS_CORE_API Aws::String GetAuthorizationHeader(const Aws::Http::HttpRequest& httpRequest);

src/aws-cpp-sdk-core/source/client/AWSClient.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,10 @@ void AWSClient::AppendHeaderValueToRequest(const std::shared_ptr<Aws::Http::Http
796796
}
797797
}
798798

799+
void AWSClient::SomePoorlyFormattedFunction(const Aws::String& arg,const Aws::String& anotherarg, const Aws::String& anotheranotherarg,const Aws::String& anotheranotheranotherarg) {AWS_UNREFERENCED_PARAM(arg);AWS_UNREFERENCED_PARAM(anotherarg);AWS_UNREFERENCED_PARAM(anotheranotherarg);AWS_UNREFERENCED_PARAM(anotheranotheranotherarg);}
800+
799801
void AWSClient::AddChecksumToRequest(const std::shared_ptr<Aws::Http::HttpRequest>& httpRequest,
800-
const Aws::AmazonWebServiceRequest& request) const
802+
const Aws::AmazonWebServiceRequest& request) const
801803
{
802804
Aws::String checksumAlgorithmName = Aws::Utils::StringUtils::ToLower(request.GetChecksumAlgorithmName().c_str());
803805
if (request.GetServiceSpecificParameters()) {

0 commit comments

Comments
 (0)