diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-01 22:30:59 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-01 22:30:59 +0000 |
| commit | 9c6890a7920909920bdb6a938b5fbc28540c9119 (patch) | |
| tree | cbc8b52e1e1b4a22d6a639ef46720028fe51f5ca /clang/lib/CodeGen/CGCall.cpp | |
| parent | 3494df490b296bb6a63cbd1d3f75952e17388f62 (diff) | |
| download | bcm5719-llvm-9c6890a7920909920bdb6a938b5fbc28540c9119.tar.gz bcm5719-llvm-9c6890a7920909920bdb6a938b5fbc28540c9119.zip | |
Simplify: replace getContext().getLangOpts() with just getLangOpts().
llvm-svn: 167261
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 0b3e9deb3f5..4fbf7bfdb02 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1801,7 +1801,7 @@ void CodeGenFunction::EmitCallArg(CallArgList &args, const Expr *E, QualType type) { if (const ObjCIndirectCopyRestoreExpr *CRE = dyn_cast<ObjCIndirectCopyRestoreExpr>(E)) { - assert(getContext().getLangOpts().ObjCAutoRefCount); + assert(getLangOpts().ObjCAutoRefCount); assert(getContext().hasSameType(E->getType(), type)); return emitWritebackArg(*this, args, CRE); } |

