summaryrefslogtreecommitdiff
path: root/tools/codegen/src
diff options
context:
space:
mode:
authorEugene Susla <eugenesusla@google.com>2019-09-27 10:30:17 -0700
committerEugene Susla <eugenesusla@google.com>2019-09-27 10:31:39 -0700
commit6cd8ae53837b898c735cd6e8c8696d291768d34b (patch)
tree6dcdc6b4a389bd57fa2ea70258e926b707ed1a77 /tools/codegen/src
parent8a59e345abfdcbaccaf0d7af404f834f51fdb4a0 (diff)
Move lint disabler comment above CLI hint
Long file names may trigger lint error right in the generated warning comment Fixes: 141753810 Test: presubmit Change-Id: I89be669e111e65f80ff8994fd61eaab3c0ae8a6e
Diffstat (limited to 'tools/codegen/src')
-rwxr-xr-xtools/codegen/src/com/android/codegen/Main.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/codegen/src/com/android/codegen/Main.kt b/tools/codegen/src/com/android/codegen/Main.kt
index fa2b41adcacb..ad5bb9e2e2e8 100755
--- a/tools/codegen/src/com/android/codegen/Main.kt
+++ b/tools/codegen/src/com/android/codegen/Main.kt
@@ -132,11 +132,11 @@ fun main(args: Array<String>) {
// $GENERATED_WARNING_PREFIX v$CODEGEN_VERSION.
//
// DO NOT MODIFY!
+ // CHECKSTYLE:OFF Generated code
//
// To regenerate run:
// $ $cliExecutable ${cliArgs.dropLast(1).joinToString("") { "$it " }}$fileEscaped
- //
- // CHECKSTYLE:OFF Generated code
+ /
"""
if (FeatureFlag.CONST_DEFS()) generateConstDefs()