summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-04-25 21:31:34 +0000
committerMichael Liao <michael.liao@intel.com>2013-04-25 21:31:34 +0000
commit0b707eb85eca55f392cfeb0130b1ce830c1da2fd (patch)
tree469e2013c26a8a54061ccb883241df18fbbc3446 /clang/lib/CodeGen/CodeGenModule.cpp
parent128920d9faba3effcb9c264b313e6ab2bba758d7 (diff)
downloadbcm5719-llvm-0b707eb85eca55f392cfeb0130b1ce830c1da2fd.tar.gz
bcm5719-llvm-0b707eb85eca55f392cfeb0130b1ce830c1da2fd.zip
Remove SMLoc paired with CHECK-NOT patterns. Not functionality change.
Pattern has source location by itself. After adding a trivial method to retrieve it, it's unnecessary to pair a source location for CHECK-NOT patterns. One thing revised after this is the diagnostic info is more accurate by pointing to the start of the CHECK-NOT pattern instead of the end of the CHECK-NOT pattern. E.g. diagnostic message previously looks like <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:16: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ is changed to <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:12: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ llvm-svn: 180578
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud