[all-commits] [llvm/llvm-project] 48e3dc: [Libomptarget][NFC] Remove constexpr to hide warnings
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Feb 14 12:34:33 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48e3dcecc4259fc50451e9d12a352c7d513e85eb
https://github.com/llvm/llvm-project/commit/48e3dcecc4259fc50451e9d12a352c7d513e85eb
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-02-14 (Mon, 14 Feb 2022)
Changed paths:
M openmp/libomptarget/DeviceRTL/src/Mapping.cpp
Log Message:
-----------
[Libomptarget][NFC] Remove constexpr to hide warnings
Currently whenever we compile the device runtime we get the following
'Mapping.cpp:32:32: warning: inline function '_OMP::impl::getGridValue'
is not defined [-Wundefined-inline]' warning. This can be silenced by
removing the constexpr attribute for this function. Doing this doesn't
change the generated bitcode at all but prevents the screen from getting
filled with warnings whenver we build the runtime.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D119747
More information about the All-commits
mailing list