This is an archive of the discontinued LLVM Phabricator instance.

[Tooling] Drop leading/trailing whitespace from compile_flags.txt lines
ClosedPublic

Authored by sammccall on May 18 2020, 2:01 PM.

Details

Summary

These files tend to be hand-authored, and people get very confused.
I can't think of any reason that such whitespace would be intended.

Diff Detail

Event Timeline

sammccall created this revision.May 18 2020, 2:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2020, 2:02 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kadircet accepted this revision.May 19 2020, 12:51 AM

thanks for remembering this :D

clang/test/Tooling/fixed-database.cpp
6

Not sure what this line is about, default comment marker is \0 for line_itearator and we don't seem to be changing it.

This revision is now accepted and ready to land.May 19 2020, 12:51 AM
sammccall marked 2 inline comments as done.May 19 2020, 2:19 AM
sammccall added inline comments.
clang/test/Tooling/fixed-database.cpp
6

Uh, this is a bad test, clang-check doesn't fail on driver errors and the compilation didn't depend on it.

And #comments would probably break something one day anyway.

This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.