summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/DocumentXML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Frontend/DocumentXML.cpp')
-rw-r--r--clang/lib/Frontend/DocumentXML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/DocumentXML.cpp b/clang/lib/Frontend/DocumentXML.cpp
index 80060f5b731..ac1d7d2a8bb 100644
--- a/clang/lib/Frontend/DocumentXML.cpp
+++ b/clang/lib/Frontend/DocumentXML.cpp
@@ -194,7 +194,7 @@ void DocumentXML::finalize()
// don't use the get methods as they strip of typedef infos
if (const BuiltinType *BT = dyn_cast<BuiltinType>(i->first)) {
addSubNode("FundamentalType");
- addAttribute("name", BT->getName());
+ addAttribute("name", BT->getName(Ctx->getLangOptions().CPlusPlus));
}
else if (const PointerType *PT = dyn_cast<PointerType>(i->first)) {
addSubNode("PointerType");
OpenPOWER on IntegriCloud