We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f683b5 commit afc6da4Copy full SHA for afc6da4
clang/include/clang/Analysis/FlowSensitive/CachedConstAccessorsLattice.h
@@ -193,9 +193,8 @@ StorageLocation *
193
CachedConstAccessorsLattice<Base>::getOrCreateConstMethodReturnStorageLocation(
194
const RecordStorageLocation &RecordLoc, const CallExpr *CE,
195
Environment &Env, llvm::function_ref<void(StorageLocation &)> Initialize) {
196
- QualType Type = CE->getType();
197
- assert(!Type.isNull());
198
- assert(CE->isGLValue() || Type->isRecordType());
+ assert(!CE->getType().isNull());
+ assert(CE->isGLValue() || CE->getType()->isRecordType());
199
auto &ObjMap = ConstMethodReturnStorageLocations[&RecordLoc];
200
const FunctionDecl *DirectCallee = CE->getDirectCallee();
201
if (DirectCallee == nullptr)
0 commit comments