diff options
author | Vy Nguyen <vyng@google.com> | 2020-06-08 21:14:14 -0400 |
---|---|---|
committer | Vy Nguyen <vyng@google.com> | 2020-06-09 19:34:57 -0400 |
commit | a21a462051659d8e1281af7d11738b8abc0557dc (patch) | |
tree | 47a317f5c7c4cdc9060eec29812bd5e755d8ce7d /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | ef0ea8717a9b513d2bf67c2b04b876700593fa07 (diff) | |
download | llvm-a21a462051659d8e1281af7d11738b8abc0557dc.zip llvm-a21a462051659d8e1281af7d11738b8abc0557dc.tar.gz llvm-a21a462051659d8e1281af7d11738b8abc0557dc.tar.bz2 |
Make the diagnostic-missing-prototypes put the suggested `static` in front of `const` if exists.
Summary:
Consider: `const int* get_foo() {return nullptr;}`
The suggested fix should be `static const int* get_foo(){}`
and not `const static int* get_foo(){}`
Reviewers: gribozavr2
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81444
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions