rsmith added a subscriber: rsmith.
rsmith accepted this revision.
rsmith added a reviewer: rsmith.
rsmith added a comment.
This revision is now accepted and ready to land.
This looks fine (subject to the observation in http://reviews.llvm.org/D13603
that `MarkWriteOnceWrittenRAII` can just be a f
lvoufo updated this revision to Diff 37012.
lvoufo added a comment.
Update patch (Wrong patch submitted earlier).
http://reviews.llvm.org/D13614
Files:
lib/CodeGen/CGDecl.cpp
test/CodeGenCXX/const-invariant.cpp
test/CodeGenObjCXX/arc.mm
Index: test/CodeGenObjCXX/arc.mm
==
lvoufo created this revision.
lvoufo added reviewers: chandlerc, dberlin, majnemer, nicholas.
lvoufo added a subscriber: cfe-commits.
Continued from D13603, handling functions that are defined with const
parameters.
http://reviews.llvm.org/D13614
Files:
include/clang/AST/DeclCXX.h
include/c