[llvm-bugs] [Bug 26326] New: OSX ClangAttrEmitter make error
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 26 13:27:42 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26326
Bug ID: 26326
Summary: OSX ClangAttrEmitter make error
Product: clang
Version: trunk
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: iskhakovt at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160126/0f302dbe/attachment.html>
More information about the llvm-bugs
mailing list