clang-format: [JS] Make Closure module detection more narrow.
authorDaniel Jasper <djasper@google.com>
Thu, 27 Nov 2014 14:46:03 +0000 (14:46 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 27 Nov 2014 14:46:03 +0000 (14:46 +0000)
commit53c38f4e79ae1369a5c7c96384fd38f452bddc98
tree65ec09240bb00119bdd02686479ca0d961eb1dc8
parentaa2b9278fea3917996b3fd9a14937b869903712b
clang-format: [JS] Make Closure module detection more narrow.

Before:
  var MyLongClassName = goog.module.get('my.long.module.name.followedBy.MyLongClassName');

After:
  var MyLongClassName =
      goog.module.get('my.long.module.name.followedBy.MyLongClassName');

llvm-svn: 222888
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestJS.cpp