[all-commits] [llvm/llvm-project] 19ebcf: [InstrProf] Remove duplicate definition of IntPtrT
Dimitry Andric via All-commits
all-commits at lists.llvm.org
Fri Aug 2 00:22:52 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 19ebcf8685f2ef010a0bc8474b4bf732024a3576
https://github.com/llvm/llvm-project/commit/19ebcf8685f2ef010a0bc8474b4bf732024a3576
Author: Dimitry Andric <dimitry at andric.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfiling.h
Log Message:
-----------
[InstrProf] Remove duplicate definition of IntPtrT
In 16e74fd48988a (for #82711) a duplicate definition of `IntPtrT` was
added to `InstrProfiling.h`, leading to warnings:
compiler-rt/lib/profile/InstrProfiling.h:52:15: warning: redefinition of typedef 'IntPtrT' is a C11 feature [-Wtypedef-redefinition]
52 | typedef void *IntPtrT;
| ^
compiler-rt/lib/profile/InstrProfiling.h:34:15: note: previous definition is here
34 | typedef void *IntPtrT;
| ^
Fix the warnings by removing the duplicate typedef.
(cherry picked from commit 2c376fe96c83443c15e6485d043ebe321904546b)
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