aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-04-10 17:35:30 +0000
committerChad Rosier <mcrosier@apple.com>2013-04-10 17:35:30 +0000
commit1863f4f47269e4dcb59385fb128cee72e2e72d2b (patch)
tree14fa52f5dfb1f868b23575eccdca7c755d00db58 /clang/lib/Frontend/CompilerInvocation.cpp
parent8caa904bde537aa8e9d8e3665c9b37b6779a2d02 (diff)
downloadllvm-1863f4f47269e4dcb59385fb128cee72e2e72d2b.zip
llvm-1863f4f47269e4dcb59385fb128cee72e2e72d2b.tar.gz
llvm-1863f4f47269e4dcb59385fb128cee72e2e72d2b.tar.bz2
Reapply r179115, but use parsePrimaryExpression a little more judiciously.
Test cases that regressed due to r179115, plus a few more, were added in r179182. Original commit message below: [ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to parse an identifier. Otherwise, parseExpression may parse multiple tokens, which makes it impossible to properly compute an immediate displacement. An example of such a case is the source operand (i.e., [Symbol + ImmDisp]) in the below example: __asm mov eax, [Symbol + ImmDisp] Part of rdar://13611297 llvm-svn: 179187
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions