Author: Kazu Hirata Date: 2023-03-15T18:06:31-07:00 New Revision: c7c1d531b9a77a735183f67a6d8b538691284f92
URL: https://github.com/llvm/llvm-project/commit/c7c1d531b9a77a735183f67a6d8b538691284f92 DIFF: https://github.com/llvm/llvm-project/commit/c7c1d531b9a77a735183f67a6d8b538691284f92.diff LOG: [Lex] Use false instead of 0 (NFC) Added: Modified: clang/include/clang/Lex/Preprocessor.h Removed: ################################################################################ diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index b3c3a80deb11f..37e16021071a8 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/include/clang/Lex/Preprocessor.h @@ -2850,7 +2850,7 @@ class Preprocessor { /// This boolean state keeps track if the current scanned token (by this PP) /// is in an "-Wunsafe-buffer-usage" opt-out region. Assuming PP scans a /// translation unit in a linear order. - bool InSafeBufferOptOutRegion = 0; + bool InSafeBufferOptOutRegion = false; /// Hold the start location of the current "-Wunsafe-buffer-usage" opt-out /// region if PP is currently in such a region. Hold undefined value _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits