We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8988a commit 6a26e22Copy full SHA for 6a26e22
clang-tools-extra/test/clang-tidy/check_clang_tidy.py
@@ -392,7 +392,7 @@ def parse_arguments() -> Tuple[argparse.Namespace, List[str]]:
392
if args.std is None:
393
_, extension = os.path.splitext(args.assume_filename or args.input_file_name)
394
args.std = [
395
- "c++11-or-later" if extension in [".cpp", ".hpp", ".mm"] else "c99-or-later"
+ "c99-or-later" if extension in [".c", ".m"] else "c++11-or-later"
396
]
397
398
return (args, extra_args)
0 commit comments