[LLVMdev] std::string suffices for Init* argument?
silvas at purdue.edu
Wed Jan 30 21:37:20 PST 2013
How is `FieldName`, which is a std::string, being passed as the third
argument to SetValue on line 1848 of TGParser.cpp, which is declared
as being an Init*? The nearly identical (FIXME) codepath in
ParseDeclaration immediately puts the string into a StringInit, which
makes sense, but how on earth is the std::string being passed in? This
is really freaking me out.
-- Sean Silva
More information about the llvm-dev