Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use new Standard Conforming Preprocessor when building with MSVC #7043

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AnastaZIuk
Copy link

@AnastaZIuk AnastaZIuk requested a review from a team as a code owner December 19, 2024 13:41
Copy link
Contributor

github-actions bot commented Dec 19, 2024

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff 6c2b9f340e19e44743ba821a750f85e4ce44bb1b 72b8a83b8e3ce8ccbfdde10a84314a1a23181c2a -- include/dxc/Support/Global.h
View the diff from clang-format here.
diff --git a/include/dxc/Support/Global.h b/include/dxc/Support/Global.h
index ae23ac65..589af377 100644
--- a/include/dxc/Support/Global.h
+++ b/include/dxc/Support/Global.h
@@ -352,7 +352,7 @@ inline void OutputDebugFormatA(const char *pszFormat, ...) {
 #define DXASSERT_ARGS(expr, fmt, ...)                                          \
   do {                                                                         \
     if (!(expr)) {                                                             \
-      fprintf(stderr, fmt __VA_OPT__(, ) __VA_ARGS__);                        \
+      fprintf(stderr, fmt __VA_OPT__(, ) __VA_ARGS__);                         \
       assert(false);                                                           \
     }                                                                          \
   } while (0)
  • Check this box to apply formatting changes to this branch.

@AnastaZIuk
Copy link
Author

@microsoft-github-policy-service agree [company="{your company}"]

@microsoft-github-policy-service agree company="Devsh Graphics Programming Sp. z O.O."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

1 participant