aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/InterpBuiltin.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-06-23 13:10:42 -0700
committerGitHub <noreply@github.com>2025-06-23 13:10:42 -0700
commit6cf656eca717890a43975c026d0ae34c16c6c455 (patch)
tree320ce96d639dc05c00257ad9fc788e1f84f86b6f /clang/lib/AST/ByteCode/InterpBuiltin.cpp
parent66214410c4059be3b60f287d80e2ffc77d2c9ab4 (diff)
downloadllvm-6cf656eca717890a43975c026d0ae34c16c6c455.zip
llvm-6cf656eca717890a43975c026d0ae34c16c6c455.tar.gz
llvm-6cf656eca717890a43975c026d0ae34c16c6c455.tar.bz2
[NFC][Clang][AST] Drop `llvm::` in front of `ArrayRef`/`MutableArrayRef` (#145207)
Diffstat (limited to 'clang/lib/AST/ByteCode/InterpBuiltin.cpp')
-rw-r--r--clang/lib/AST/ByteCode/InterpBuiltin.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/AST/ByteCode/InterpBuiltin.cpp b/clang/lib/AST/ByteCode/InterpBuiltin.cpp
index ea96e21..9300217 100644
--- a/clang/lib/AST/ByteCode/InterpBuiltin.cpp
+++ b/clang/lib/AST/ByteCode/InterpBuiltin.cpp
@@ -1489,7 +1489,7 @@ static bool interp__builtin_operator_new(InterpState &S, CodePtr OpPC,
// The std::nothrow_t arg never gets put on the stack.
if (Call->getArg(NumArgs - 1)->getType()->isNothrowT())
--NumArgs;
- auto Args = llvm::ArrayRef(Call->getArgs(), Call->getNumArgs());
+ auto Args = ArrayRef(Call->getArgs(), Call->getNumArgs());
// First arg is needed.
Args = Args.drop_front();
@@ -2637,8 +2637,7 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call,
}
bool InterpretOffsetOf(InterpState &S, CodePtr OpPC, const OffsetOfExpr *E,
- llvm::ArrayRef<int64_t> ArrayIndices,
- int64_t &IntResult) {
+ ArrayRef<int64_t> ArrayIndices, int64_t &IntResult) {
CharUnits Result;
unsigned N = E->getNumComponents();
assert(N > 0);