You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use static functions/variables if possible (#4423)
Summary:
X-link: facebookresearch/FBGEMM#1494
There are two changes:
1. Marks in-file templates and other inner functions as static; this provides more opportunities to optimise code, i.e. followed by enabling link time optimization. An unused function in test code is removed.
2. Enables `misc-use-internal-linkage` check.
Pull Request resolved: #4423
Reviewed By: gchalump
Differential Revision: D77601071
Pulled By: q10
0 commit comments