Whitney added inline comments.

================
Comment at: clang/tools/driver/cc1_main.cpp:260
+    SmallString<128> TracePath(Clang->getFrontendOpts().TimeTracePath);
+    assert(!TracePath.empty());
     if (auto profilerOutput = Clang->createOutputFile(
----------------
According to llvm coding standards:
To further assist with debugging, make sure to put some kind of error message 
in the assertion statement (which is printed if the assertion is tripped).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131469/new/

https://reviews.llvm.org/D131469

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to