diff options
author | Florian Mayer <fmayer@google.com> | 2025-02-18 09:02:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-18 09:02:28 -0800 |
commit | ca0c84dbfd22ef060abe62ce34a51a6e6c2ceedb (patch) | |
tree | cf05c892b2665ef9d621215c96a9328b9b812d1e /clang/lib/AST/DeclBase.cpp | |
parent | 7b89c41e41ce1a8832130ce9bfa24b216bfe327b (diff) | |
download | llvm-ca0c84dbfd22ef060abe62ce34a51a6e6c2ceedb.zip llvm-ca0c84dbfd22ef060abe62ce34a51a6e6c2ceedb.tar.gz llvm-ca0c84dbfd22ef060abe62ce34a51a6e6c2ceedb.tar.bz2 |
[NFC] [clang] make isFlexibleArrayMemberLike Ctx const (#126656)
it is not used mutably
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r-- | clang/lib/AST/DeclBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp index fc16448..ab9d486 100644 --- a/clang/lib/AST/DeclBase.cpp +++ b/clang/lib/AST/DeclBase.cpp @@ -438,7 +438,7 @@ bool Decl::isFileContextDecl() const { } bool Decl::isFlexibleArrayMemberLike( - ASTContext &Ctx, const Decl *D, QualType Ty, + const ASTContext &Ctx, const Decl *D, QualType Ty, LangOptions::StrictFlexArraysLevelKind StrictFlexArraysLevel, bool IgnoreTemplateOrMacroSubstitution) { // For compatibility with existing code, we treat arrays of length 0 or |