Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions clang/include/clang/AST/ExprObjC.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,10 @@ class ObjCArrayLiteral final
SourceRange getSourceRange() const LLVM_READONLY { return Range; }

/// Retrieve elements of array of literals.
Expr **getElements() { return getTrailingObjects<Expr *>(); }
Expr **getElements() { return getTrailingObjects(); }

/// Retrieve elements of array of literals.
const Expr * const *getElements() const {
return getTrailingObjects<Expr *>();
}
const Expr *const *getElements() const { return getTrailingObjects(); }

/// getNumElements - Return number of elements of objective-c array literal.
unsigned getNumElements() const { return NumElements; }
Expand Down
Loading