Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1281

add @generated to the docblock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • Compiler (General)
    • 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

      Attachments

        Activity

          People

            bill@facebook.com bill fumerola
            davejwatson@fb Dave Watson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: