The advantage of DXR is that it sees the source code by instrumenting the compiler at build time, so it is able to understand classes most of whose methods are defined by macros, like Clang's RecursiveASTVisitor. Like any source code browser, it is possible to click on an identifier and then go see information about the identifier, such as its points of declaration, or its definition. Unlike LXR and MXR, however, it knows what type of identifier it's working with, so you won't be offered the definition of BuiltinType::getKind if you look up the getKind method of an Expr object.
Another new feature is support for plugins, to allow people to use different compilers, add in support for more languages, or even augment the UI with new features like capturing line-coverage information. The current support is rudimentary, but there is already active work on a dehydra-based indexer.
A list of new features:
- Improved search speed at runtime, and dropped glimpse as a prerequisite
- The web UI works in newer versions of Firefox
- Support for plugins has been added
- Disk space requirements have been radically reduced
- Setup configuration is easier
- Link extents have been fixed in many cases
- Declarations can now be seen along with definitions
- Macros can now be browsed like source code