aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-07-12 11:20:49 +0200
committerNikita Popov <npopov@redhat.com>2022-07-12 11:41:16 +0200
commit00797b88e0113aeea03045b18b3f63332f850dfe (patch)
tree901fb14f91e43c81373e6b561dd530ad85a40def /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent4d26faa5262e7940399df04533a31d9642d23349 (diff)
downloadllvm-00797b88e0113aeea03045b18b3f63332f850dfe.zip
llvm-00797b88e0113aeea03045b18b3f63332f850dfe.tar.gz
llvm-00797b88e0113aeea03045b18b3f63332f850dfe.tar.bz2
[InlineAsm] Improve error messages for invalid constraint strings
InlineAsm constraint string verification can fail for many reasons, but used to always print a generic "invalid type for inline asm constraint string" message -- which is especially confusing if the actual error is unrelated to the type, e.g. a failure to parse the constraint string. Change the verify API to return an Error with a more specific error message, and print that in the IR parser.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions