Work around a bug in old gcc on the FreeBSD bot, which complains about

ambiguity between index() function and clang::index namespace.

llvm-svn: 194638
This commit is contained in:
Dmitri Gribenko 2013-11-14 00:36:24 +00:00
parent d738beec44
commit 15076d5d30
1 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ CXString clang_HTMLTagComment_getAsString(CXComment CXC) {
CXTranslationUnit TU = CXC.TranslationUnit;
if (!TU->CommentToXML)
TU->CommentToXML = new index::CommentToXMLConverter();
TU->CommentToXML = new clang::index::CommentToXMLConverter();
SmallString<128> Text;
TU->CommentToXML->convertHTMLTagNodeToText(
@ -370,7 +370,7 @@ CXString clang_FullComment_getAsHTML(CXComment CXC) {
CXTranslationUnit TU = CXC.TranslationUnit;
if (!TU->CommentToXML)
TU->CommentToXML = new index::CommentToXMLConverter();
TU->CommentToXML = new clang::index::CommentToXMLConverter();
SmallString<1024> HTML;
TU->CommentToXML
@ -385,7 +385,7 @@ CXString clang_FullComment_getAsXML(CXComment CXC) {
CXTranslationUnit TU = CXC.TranslationUnit;
if (!TU->CommentToXML)
TU->CommentToXML = new index::CommentToXMLConverter();
TU->CommentToXML = new clang::index::CommentToXMLConverter();
SmallString<1024> XML;
TU->CommentToXML