diff options
author | Tobias Grosser <tobias@grosser.es> | 2013-12-18 11:14:36 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2013-12-18 11:14:36 +0000 |
commit | 1b12f46464d6dea1507fe05ada7499adaa58d266 (patch) | |
tree | 43e595a8bccdf2edf484e18d89f436bb5e053f2e /polly | |
parent | a3aeed8c44fb15a1c3891aed1382bdcd59f9950e (diff) | |
download | bcm5719-llvm-1b12f46464d6dea1507fe05ada7499adaa58d266.tar.gz bcm5719-llvm-1b12f46464d6dea1507fe05ada7499adaa58d266.zip |
Fix formatting
The polly on-commit formatting checker notified me that I forgot to format
the code before submitting.
llvm-svn: 197560
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 9d15d82932a..5563f87a723 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -167,9 +167,10 @@ private: unsigned EntryLine, ExitLine; public: - DiagnosticScopFound(Function &F, std::string FileName, unsigned EntryLine, unsigned ExitLine) + DiagnosticScopFound(Function &F, std::string FileName, unsigned EntryLine, + unsigned ExitLine) : DiagnosticInfo(PluginDiagnosticKind, DS_Note), F(F), FileName(FileName), - EntryLine(EntryLine), ExitLine(ExitLine) {} + EntryLine(EntryLine), ExitLine(ExitLine) {} virtual void print(DiagnosticPrinter &DP) const; @@ -180,15 +181,15 @@ public: int DiagnosticScopFound::PluginDiagnosticKind = 10; - void DiagnosticScopFound::print(DiagnosticPrinter &DP) const { - DP << "Polly detected an optimizable loop region (scop) in function '" << F << "'\n"; + DP << "Polly detected an optimizable loop region (scop) in function '" << F + << "'\n"; if (FileName.empty()) { DP << "Scop location is unknown. Compile with debug info " "(-g) to get more precise information. "; - return; + return; } DP << FileName << ":" << EntryLine << ": Start of scop\n"; |