diff options
author | Eric Liu <ioeric@google.com> | 2016-06-09 14:18:40 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2016-06-09 14:18:40 +0000 |
commit | 1899d54ed0a4e43249cb44faa164178c708303d6 (patch) | |
tree | 47374c5d57814212674916ca0f444255a976cd89 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 8b5b61aaf39c6990704963d05819c399dcd5d3ea (diff) | |
download | bcm5719-llvm-1899d54ed0a4e43249cb44faa164178c708303d6.tar.gz bcm5719-llvm-1899d54ed0a4e43249cb44faa164178c708303d6.zip |
[include-fixer] do not index friend function declaration.
Summary:
we want to exclude friend declaration, but the `DeclContext` of a
friend function declaration is not the class in which it is declared, so we need
to explicitly check if the parent is a `friendDecl`.
Reviewers: bkramer
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D21175
llvm-svn: 272261
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions