[all-commits] [llvm/llvm-project] 66b876: Pass the source range when diagnosing an unknown a...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Nov 13 10:30:17 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 66b876c014ad57e7d750a2063a4abac6babd8ef1
https://github.com/llvm/llvm-project/commit/66b876c014ad57e7d750a2063a4abac6babd8ef1
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
Pass the source range when diagnosing an unknown attribute
This way, the whole attribute gets highlighted with diagnostics instead
of just the scope name in an attribute like [[clang::unknown]].
More information about the All-commits
mailing list