[all-commits] [llvm/llvm-project] c6a33f: [clang][CodeGen] Emit annotations for function dec...
Brendan Dahl via All-commits
all-commits at lists.llvm.org
Tue Sep 12 13:08:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c6a33ff49dfb3498dae15c718820ea3d9c19f3cb
https://github.com/llvm/llvm-project/commit/c6a33ff49dfb3498dae15c718820ea3d9c19f3cb
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2023-09-12 (Tue, 12 Sep 2023)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGen/annotations-decl-use-decl.c
A clang/test/CodeGen/annotations-decl-use-define.c
A clang/test/CodeGen/annotations-declaration.c
M clang/test/CodeGen/annotations-global.c
A clang/test/CodeGenCXX/attr-annotate-destructor.cpp
M clang/test/CodeGenCXX/attr-annotate.cpp
Log Message:
-----------
[clang][CodeGen] Emit annotations for function declarations.
Previously, annotations were only emitted for function definitions. With
this change annotations are also emitted for declarations. Also, emitting
function annotations is now deferred until the end so that the most
up to date declaration is used which will have any inherited annotations.
Differential Revision: https://reviews.llvm.org/D156172/new/
More information about the All-commits
mailing list