Kaydet (Commit) 1887d4f5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Minor beautification

Change-Id: I1300d1d696878c1b646decc2841f13d489d3cadc
üst 52e5b6e3
...@@ -98,11 +98,11 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) { ...@@ -98,11 +98,11 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
} }
if ( compat::isInMainFile(compiler.getSourceManager(), spellingLocation) ) { if ( compat::isInMainFile(compiler.getSourceManager(), spellingLocation) ) {
if (filename.startswith(SRCDIR "/sal/") // sal has tons of weird stuff going on that I don't understand enough to fix if (filename.startswith(SRCDIR "/sal/") // sal has tons of weird stuff going on that I don't understand enough to fix
|| filename.startswith(SRCDIR "/bridges")) { // I'm not messing with this code - far too dangerous || filename.startswith(SRCDIR "/bridges/")) { // I'm not messing with this code - far too dangerous
return true; return true;
} }
} else { } else {
if (filename.startswith(SRCDIR "/include/tools/solar.h") if (filename == SRCDIR "/include/tools/solar.h"
|| filename.startswith(SRCDIR "/include/cppuhelper/") || filename.startswith(SRCDIR "/include/cppuhelper/")
|| ((StringRef( || ((StringRef(
compiler.getSourceManager().getFileEntryForID( compiler.getSourceManager().getFileEntryForID(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment