aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2022-12-02 14:59:13 -0800
committerVitaly Buka <vitalybuka@google.com>2022-12-04 19:10:17 -0800
commit487edfa4327446d884709263006d3b9108181fce (patch)
tree92f3697131a59026e49e884466c71c086e075f81 /clang/lib/CodeGen/CodeGenModule.h
parentd9df5bb8cf1971fac165a718cef2d435b71bab4b (diff)
downloadllvm-487edfa4327446d884709263006d3b9108181fce.zip
llvm-487edfa4327446d884709263006d3b9108181fce.tar.gz
llvm-487edfa4327446d884709263006d3b9108181fce.tar.bz2
[NFC][CodeGen] Add const to a method
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 92ce594..5289f0c 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1476,7 +1476,8 @@ public:
/// Whether this function's return type has no side effects, and thus may
/// be trivially discarded if it is unused.
- bool MayDropFunctionReturn(const ASTContext &Context, QualType ReturnType);
+ bool MayDropFunctionReturn(const ASTContext &Context,
+ QualType ReturnType) const;
/// Returns whether this module needs the "all-vtables" type identifier.
bool NeedAllVtablesTypeId() const;