aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2016-04-19 14:55:37 +0000
committerMartin Probst <martin@probst.io>2016-04-19 14:55:37 +0000
commit053f1aa6d09df250ef27b992974b06bbad637557 (patch)
tree0d382a67f01cb33a395af6d7a9f3bf6bb67862c3 /clang/lib/CodeGen/CodeGenFunction.cpp
parent0b0271ef976cec3ee6a1ab2d654e42cf111a68bd (diff)
downloadllvm-053f1aa6d09df250ef27b992974b06bbad637557.zip
llvm-053f1aa6d09df250ef27b992974b06bbad637557.tar.gz
llvm-053f1aa6d09df250ef27b992974b06bbad637557.tar.bz2
clang-format: [JS] simplify import/export.
Summary: Change `import` and `export` parsing to special case the renaming syntax (`import x, {y as bar} ...`, `export {x}`) and otherwise just parse a regular structural element. This simplifies the code a bit and should be more correct - it's easier to recognise the specific import syntax than to recognise arbitrary expressions and declarations. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D19242 llvm-svn: 266743
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions