[all-commits] [llvm/llvm-project] 7ff507: Diagnose incorrect syntax for #pragma clang diagno...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Mon Jun 26 05:06:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ff507f1448bfdfcaa91d177d1f655dcb17557e7
https://github.com/llvm/llvm-project/commit/7ff507f1448bfdfcaa91d177d1f655dcb17557e7
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Lex/Pragma.cpp
M clang/test/Preprocessor/pragma_diagnostic.c
Log Message:
-----------
Diagnose incorrect syntax for #pragma clang diagnostic
We would previously fail to diagnose unexpected tokens after a 'push'
or 'pop' directive.
Fixes https://github.com/llvm/llvm-project/issues/13920
More information about the All-commits
mailing list