metareflect
metareflect copied to clipboard
compilation errors when compiling against latest llvm in StringRef class
reflectedclass.cpp:164:15: error: no member named 'equals_lower' in 'llvm::StringRef' if (s.equals_lower("serialized")) { ~ ^ /Volumes/Pahethon-George/llvm-project2/llvm-project/clang-tools-extra/metareflect/tooling/reflectedclass.cpp:167:22: error: no member named 'startswith_lower' in 'llvm::StringRef' } else if (s.startswith_lower("width")) { ~ ^ /Volumes/Pahethon-George/llvm-project2/llvm-project/clang-tools-extra/metareflect/tooling/reflectedclass.cpp:175:22: error: no member named 'equals_lower' in 'llvm::StringRef' } else if (s.equals_lower("cstring")) { ~ ^ /Volumes/Pahethon-George/llvm-project2/llvm-project/clang-tools-extra/metareflect/tooling/reflectedclass.cpp:195:15: error: no member named 'equals_lower' in 'llvm::StringRef' if (s.equals_lower("replicated")) {
use "equals_insensitive" and "startswith_insensitive" respectively.