ABataev added inline comments.
================
Comment at: lib/Driver/Driver.cpp:464-468
@@ +463,7 @@
+ RuntimeName = A->getValue();
+ HasCompatibleOpenMP = llvm::StringSwitch<bool>(RuntimeName)
+ .Case("libomp", true)
+ .Case("libgomp", false)
+ .Case("libiomp5", true)
+ .Default(false);
+ }
----------------
I don't like the fact that we have similar string comparisons in different
files. This must be handled in a single place.
http://reviews.llvm.org/D21843
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits