kristina added inline comments.

================
Comment at: lib/Lex/PPDirectives.cpp:1892
       if (!File) {
-        while (!isAlphanumeric(Filename.front())) {
+        while (!Filename.empty() && !isAlphanumeric(Filename.front())) {
           Filename = Filename.drop_front();
----------------
This line is tripping the assert, it seems best course of action would be a 
single check here and then just diagnosing an error unless you have managed to 
find other cases, in which case all the checks below are also warranted.


Repository:
  rC Clang

https://reviews.llvm.org/D52721



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

Reply via email to