[clang] [clang] Optimize Lexer hot path to reduce compile time (PR #177153)

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 15 17:11:40 PST 2026


================
@@ -283,6 +285,11 @@ class Token {
   ///
   bool isAtStartOfLine() const { return getFlag(StartOfLine); }
 
+  /// isAtPhysicalStartOfLine - Return true if this token is at the start of a
+  /// physical line.
+  ///
----------------
yronglin wrote:

Fixed

https://github.com/llvm/llvm-project/pull/177153


More information about the cfe-commits mailing list