[PATCH] D16135: Macro Debug Info support in Clang

David L. Jones via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 16:05:53 PST 2017


dlj added inline comments.


================
Comment at: cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp:125
+  switch (Status) {
+  default:
+    llvm_unreachable("Do not expect to enter a file from current scope");
----------------
As a heads up... this fails under -Werror:

llvm/tools/clang/lib/CodeGen/MacroPPCallbacks.cpp:125:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  default:
  ^
1 error generated.


Repository:
  rL LLVM

https://reviews.llvm.org/D16135





More information about the cfe-commits mailing list