Rory McIlroy said he was proud of the way he played in the second round of the Open Championhip, despite just missing the cut.