Files
codeql/cpp/ql/test/library-tests/syntax-zoo
Dave Bartolomeo ee18db7b36 Fix IR for member accesses on prvalues
This fixes the IR generation for member accesses where the qualifier is a prvalue that is _not_ the load of a `TemporaryObjectExpr`. We synthesize a temporary variable during IR generation instead. It fits into the IR construction code at the same spot as `TranslatedLoad`, since it's basically the opposite of `TranslatedLoad` (prvalue->glvalue instead of vice versa). Note that array prvalues require special treatment.

This fixes some consistency errors in the `syntax-zoo`. It introduces three new ones in `dataflow-ir-consistency.expected`, but those are along the same lines as tons of existing failures.
2020-10-21 13:32:15 -04:00
..
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2020-03-11 10:49:21 +01:00
2020-03-11 10:49:21 +01:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00
2019-08-06 14:10:25 +02:00