src,build: add no user defined deduction guides of CTAD check

PR-URL: https://github.com/nodejs/node/pull/56071
Refs: https://google.github.io/styleguide/cppguide.html#CTAD
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Chengzhong Wu 2024-12-06 09:44:11 +00:00 committed by GitHub
parent 9cd9f43460
commit 4211ab56cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -27,7 +27,11 @@
'conditions': [
[ 'clang==1', {
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
'cflags': [
'-Werror=undefined-inline',
'-Werror=extra-semi',
'-Werror=ctad-maybe-unsupported',
],
}],
[ '"<(_type)"=="executable"', {
'msvs_settings': {