forked from OSchip/llvm-project
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:
parent
d738beec44
commit
15076d5d30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue