pull/6147/head
Craig Tiller 9 years ago
parent 8f98e0b9dd
commit 666a362a66
  1. 6
      include/grpc++/impl/codegen/create_auth_context.h
  2. 2
      src/proto/grpc/binary_log/v1alpha/log.proto
  3. 2
      tools/distrib/check_include_guards.py

@ -30,6 +30,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef GRPCXX_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H
#define GRPCXX_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H
#include <memory>
#include <grpc++/security/auth_context.h>
@ -40,3 +44,5 @@ namespace grpc {
std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
} // namespace grpc
#endif // GRPCXX_IMPL_CODEGEN_CREATE_AUTH_CONTEXT_H

@ -105,4 +105,4 @@ message Message {
// The contents of the message. May be a prefix instead of the complete
// message.
bytes data = 5;
}
}

@ -95,6 +95,8 @@ class GuardValidator(object):
fcontents = load(fpath)
match = self.ifndef_re.search(fcontents)
if not match:
print 'something drastically wrong with: %s' % fpath
if match.lastindex is None:
# No ifndef. Request manual addition with hints
self.fail(fpath, match.re, match.string, '', '', False)

Loading…
Cancel
Save