Intend to use ODRDiagsEmitter during parsing to diagnose a parsed
definition differing from a definition with the same name from a hidden
[sub]module.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
If anybody knows how to demonstrate the code was moved without modification in process, I'll be happy to do that. Unfortunately, the only thing I've found is that it should be auto-detected.
Kinda. Things get a little bit more complicated before we can do that. But to see the bigger picture, I've published all planned intermediate steps with the final D130327. And there in clang/lib/Parse/ParseObjc.cpp you can see how ODRDiagsEmitter is used in the parser.
I'm not opening those patches for review yet as I want to polish them a little bit and to test all of this stuff on real projects. Landing all of NFC stuff should be sufficient to start testing.
I see. It looks like the tricks in .git-blame-ignore-revs doesn't work for this kind of move. I admit I don't look these changes in details. But as long as it is helpful for future changes, I think it should be good.
Yeah, looks like these kind of changes in git blame should be handled by flags -C and -M and not by ignoring revisions.