This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] readability-redundant-declaration: fix false positive with C "extern inline"
ClosedPublic

Authored by mgehre on May 8 2019, 2:07 PM.

Event Timeline

mgehre created this revision.May 8 2019, 2:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2019, 2:07 PM
Herald added a subscriber: xazax.hun. · View Herald Transcript
aaron.ballman accepted this revision.May 10 2019, 9:30 AM

LGTM with some testing nits.

clang-tools-extra/test/clang-tidy/readability-redundant-declaration.c
32

Please add a newline.

clang-tools-extra/test/clang-tidy/readability-redundant-declaration.cpp
81

Please add a newline.

This revision is now accepted and ready to land.May 10 2019, 9:30 AM
This revision was automatically updated to reflect the committed changes.
mgehre marked 2 inline comments as done.
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2019, 12:19 PM