[all-commits] [llvm/llvm-project] 5a7931: [clang][Lex][NFC] Reorder SrcMgr checks in CheckMa...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Thu May 29 07:08:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a7931f04d627909a70bbc1b5566cc6c69d26860
https://github.com/llvm/llvm-project/commit/5a7931f04d627909a70bbc1b5566cc6c69d26860
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Lex/PPDirectives.cpp
Log Message:
-----------
[clang][Lex][NFC] Reorder SrcMgr checks in CheckMacroName (#141483)
isInPredefinedFile() will look at the presumed loc, which is
comparatively slow. Move it after isInSystemFile().
http://llvm-compile-time-tracker.com/compare.php?from=843e362318e884991e517a54446b4faeacdad789&to=de0421a1a38052042721a67a6094f5cb38431f26&stat=instructions:u
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list