[all-commits] [llvm/llvm-project] c7d4a0: Properly identify builtins in a diagnostic note
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Apr 15 08:46:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7d4a05228090cb6b1b7f6e5d300f197897ac756
https://github.com/llvm/llvm-project/commit/c7d4a05228090cb6b1b7f6e5d300f197897ac756
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-04-15 (Fri, 15 Apr 2022)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/prototype-redecls.c
Log Message:
-----------
Properly identify builtins in a diagnostic note
When emitting a "conflicting types" warning for a function declaration,
it's more clear to diagnose the previous declaration specifically as
being a builtin if it one.
More information about the All-commits
mailing list