<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - OSX ClangAttrEmitter make error"
href="https://llvm.org/bugs/show_bug.cgi?id=26326">26326</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>OSX ClangAttrEmitter make error
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>iskhakovt@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Errors while compiling clang (trunk version):
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1075:43: error: no
viable conversion from 'ArrayRef<llvm::Record *>' to 'ArrayRef<std::pair<Record
*, SMRange>>'
ArrayRef<std::pair<Record*, SMRange>> Bases = Search->getSuperClasses();
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1384:42: error: member
reference type 'llvm::Record *const' is a pointer; maybe you meant to use '->'?
if (Args[0]->getSuperClasses().back().first->getName() != "TypeArgument")
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1384:43: error: no
member named 'first' in 'llvm::Record'
if (Args[0]->getSuperClasses().back().first->getName() != "TypeArgument")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1422:59: error: member
reference type 'llvm::Record *const' is a pointer; maybe you meant to use '->'?
llvm::StringSwitch<bool>(Arg->getSuperClasses().back().first->getName())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
->
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1422:60: error: no
member named 'first' in 'llvm::Record'
llvm::StringSwitch<bool>(Arg->getSuperClasses().back().first->getName())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
.../llvm/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:1479:44: error: no
viable conversion from 'ArrayRef<llvm::Record *>' to 'ArrayRef<std::pair<Record
*, SMRange>>'
ArrayRef<std::pair<Record *, SMRange>> Supers = R.getSuperClasses();
6 errors generated.
make[2]: ***
[tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangAttrEmitter.cpp.o]
Error 1
make[1]: *** [tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/all]
Error 2
make: *** [all] Error 2
--
Mac OS X 10.11.2 (15C50)
Apple LLVM version 7.0.2 (clang-700.1.81)
cmake version 3.4.2
GNU Make 3.81</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>