[clang] [clang] Add source range to 'use of undeclared identifier' diagnostics (PR #117671)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 10:38:18 PST 2024
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/117671 at github.com>
================
@@ -996,19 +996,22 @@ CharSourceRange SourceManager::getExpansionRange(SourceLocation Loc) const {
bool SourceManager::isMacroArgExpansion(SourceLocation Loc,
SourceLocation *StartLoc) const {
- if (!Loc.isMacroID()) return false;
+ if (!Loc.isMacroID())
----------------
AaronBallman wrote:
All the changes in this file can be reverted because they're just formatting changes, right?
https://github.com/llvm/llvm-project/pull/117671
More information about the cfe-commits
mailing list