search for: stringref2

Displaying 2 results from an estimated 2 matches for "stringref2".

Did you mean: stringref
2011 Sep 06
3
[LLVMdev] bug in TableGen when generating RegisterInfo?
...erAliases are declared as "std::map<Record*, std::set<Record*>, LessRecord>" and a requirement for std::map is that the comparison function ("LessRecord") should correspond to a strict weak ordering; in this case this points to : "StringRef1.compare_numeric(StringRef2) < 0" which does not behave like strict weak ordering predicate on the set of strings. I have attached an example built upon snippets from StringRef.cpp, compiled with gcc version 4.4.5 (Debian 4.4.5-8) (I also saw that there is a workaround for gcc 4.x ...). Please tell me if I am doing...
2011 Sep 07
0
[LLVMdev] bug in TableGen when generating RegisterInfo?
...uot;std::map<Record*, std::set<Record*>, LessRecord>" > > and a requirement for std::map is that the comparison function > ("LessRecord") should correspond to a strict weak ordering; in this case > this points to : > > "StringRef1.compare_numeric(StringRef2) < 0" > > which does not behave like strict weak ordering predicate on the set of > strings. I have attached an example built upon snippets from StringRef.cpp, > compiled with gcc version 4.4.5 (Debian 4.4.5-8) (I also saw that there is a > workaround for gcc 4.x ...). > &...