gfe-relnote: n/a(code clean up) Move c++ attribute specifier to the front of
functions.
PiperOrigin-RevId: 246190720
Change-Id: I77404f41af98fc1f121affdd08a22875caaed34b
diff --git a/quic/tools/quic_client_base.h b/quic/tools/quic_client_base.h
index 6ad326e..69aa86d 100644
--- a/quic/tools/quic_client_base.h
+++ b/quic/tools/quic_client_base.h
@@ -102,7 +102,7 @@
// Wait for events until the handshake is confirmed.
// Returns true if the crypto handshake succeeds, false otherwise.
- bool WaitForCryptoHandshakeConfirmed() QUIC_MUST_USE_RESULT;
+ QUIC_MUST_USE_RESULT bool WaitForCryptoHandshakeConfirmed();
// Wait up to 50ms, and handle any events which occur.
// Returns true if there are any outstanding requests.
diff --git a/spdy/core/spdy_header_block.h b/spdy/core/spdy_header_block.h
index ac172af..f579579 100644
--- a/spdy/core/spdy_header_block.h
+++ b/spdy/core/spdy_header_block.h
@@ -180,7 +180,7 @@
const SpdyStringPiece value);
// Allows either lookup or mutation of the value associated with a key.
- ValueProxy operator[](const SpdyStringPiece key) SPDY_MUST_USE_RESULT;
+ SPDY_MUST_USE_RESULT ValueProxy operator[](const SpdyStringPiece key);
// This object provides automatic conversions that allow SpdyHeaderBlock to be
// nearly a drop-in replacement for SpdyLinkedHashMap<SpdyString, SpdyString>.