]> granicus.if.org Git - clang/commitdiff
Plist diagnostics: Remove deprecated single-point locations in control-flow
authorTed Kremenek <kremenek@apple.com>
Tue, 21 Apr 2009 21:03:00 +0000 (21:03 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 21 Apr 2009 21:03:00 +0000 (21:03 +0000)
pieces.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69719 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/PlistDiagnostics.cpp

index 726248431fdb49dc463a0d83df1ec31f5b05a4a9..d67740aa9d66c8a41c369152e03e0a524d6f0237 100644 (file)
@@ -148,14 +148,7 @@ static void ReportControlFlow(llvm::raw_ostream& o,
   ++indent;
   
   Indent(o, indent) << "<key>kind</key><string>control</string>\n";
-  
-  // FIXME: Eventually remove (DEPRECATED)
-  // Output the start and end locations.
-  Indent(o, indent) << "<key>start</key>\n";
-  EmitLocation(o, SM, LangOpts, P.getStartLocation(), FM, indent);
-  Indent(o, indent) << "<key>end</key>\n";
-  EmitLocation(o, SM, LangOpts, P.getEndLocation(), FM, indent);
-  
+    
   // Emit edges.
   Indent(o, indent) << "<key>edges</key>\n";
   ++indent;