projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[TableGen] Change a couple methods to return an ArrayRef instead of a const std:...
[oota-llvm.git]
/
lib
/
TableGen
/
Record.cpp
diff --git
a/lib/TableGen/Record.cpp
b/lib/TableGen/Record.cpp
index 6e982bf1da1917ac81848c13e15c84e796255ed5..c9a31b64cfd3e0051477624679980e48ba0dee30 100644
(file)
--- a/
lib/TableGen/Record.cpp
+++ b/
lib/TableGen/Record.cpp
@@
-1648,7
+1648,7
@@
raw_ostream &llvm::operator<<(raw_ostream &OS, const Record &R) {
}
OS << " {";
-
const std::vector<Record*> &
SC = R.getSuperClasses();
+
ArrayRef<Record *>
SC = R.getSuperClasses();
if (!SC.empty()) {
OS << "\t//";
for (const Record *Super : SC)