[PATCH] D20503: [AVR] Add AVRMCExpr
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 20:28:22 PDT 2016
dylanmckay added inline comments.
================
Comment at: lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp:181-183
@@ +180,5 @@
+ const auto &Modifier = std::find_if(
+ std::begin(ModifierNames), std::end(ModifierNames),
+ [&Name](ModifierEntry const &Mod) { return Mod.Spelling == Name; });
+
+ if (Modifier != std::end(ModifierNames)) {
----------------
I can't seem to get it working, it tries to call `.begin()` on the array, which doesn't exist.
http://reviews.llvm.org/D20503
More information about the llvm-commits
mailing list