mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00
Fix formatting
The polly on-commit formatting checker notified me that I forgot to format the code before submitting. llvm-svn: 197560
This commit is contained in:
parent
a3aeed8c44
commit
1b12f46464
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user