[all-commits] [llvm/llvm-project] 854e8f: Remove unnecessary/erroneous "static" from functio...
David Blaikie via All-commits
all-commits at lists.llvm.org
Fri Jul 10 16:23:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 854e8f88e96bd6a75844d2af061cacc61fb0defe
https://github.com/llvm/llvm-project/commit/854e8f88e96bd6a75844d2af061cacc61fb0defe
Author: David Blaikie <dblaikie at gmail.com>
Date: 2020-07-10 (Fri, 10 Jul 2020)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
Remove unnecessary/erroneous "static" from function templates in headers
This risks ODR violations in inline functions that call these functions
(if they remain static) & otherwise just causes some object size
increase, potentially, by these functions not being deduplicated by the
linker.
More information about the All-commits
mailing list