Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
From 3c0e31181f1773381eabe9fb1fd69d964cb15c5e Mon Sep 17 00:00:00 2001
From: Bill Fumerola <bill@fb.com>
Date: Wed, 20 Jan 2010 00:34:06 +0000
Subject: [PATCH 11/33] add @generated to the docblock
Summary:
our static analysis tools can determine what to do based on the presence
of @generated. epriestley suggested the name to me and based on 30 seconds of googling
at least Java uses this notation.
Test Plan:
generated an autoload and non-autoload thrift file, examined files (c++, java, php), used lint (php) on them
—
compiler/cpp/src/generate/t_oop_generator.h | 1 +
compiler/cpp/src/generate/t_php_generator.cc | 6 ++++--
2 files changed, 5 insertions, 2 deletions