[PATCH] D86002: Test dummy change

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 15:30:58 PDT 2020


wenlei created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
wenlei requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86002

Files:
  llvm/lib/Analysis/InlineAdvisor.cpp


Index: llvm/lib/Analysis/InlineAdvisor.cpp
===================================================================
--- llvm/lib/Analysis/InlineAdvisor.cpp
+++ llvm/lib/Analysis/InlineAdvisor.cpp
@@ -372,8 +372,9 @@
 }
 
 void llvm::addLocationToRemarks(OptimizationRemark &Remark, DebugLoc DLoc) {
-  if (!DLoc.get())
+  if (!DLoc.get()) {
     return;
+  }
 
   bool First = true;
   Remark << " at callsite ";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86002.285771.patch
Type: text/x-patch
Size: 408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200814/0070d636/attachment.bin>


More information about the llvm-commits mailing list